Commit 1a735ecb authored by ZWT's avatar ZWT

feat(能源管理系统): 间开制度管理

1.间开制度管理-基础间开配置模块新增功能,完成接口冒烟测试并生成接口文档;
2.排查无法获取mapper对象导致空指针异常问题,space模块添加mapper配置类;
3.间开制度管理-基础间开配置模块修改功能,完成接口冒烟测试并生成接口文档;
4.间开制度管理-基础间开配置模块逻辑删除功能,完成接口冒烟测试并生成接口文档;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 5c0517ae
package pps.core.system.constant;
package pps.core.common.constant;
/**
* 字典类型常量
* 业务操作常量
*
* @author ZWT
* @date 2023/08/29 15:01
* @date 2023/09/05 14:40
*/
public class DictTypeConstant {
public class BusinessConstant {
/**
* 正常
*/
public static final Integer NORMAL = 1;
/**
* 删除
*/
public static final Integer DELETE = 0;
/*------------------------------字典------------------------------*/
/**
* 线路类型
......
......@@ -16,10 +16,10 @@ import pps.core.base.service.data.base_power_line_wellhead.DynamicQueryBasePower
import pps.core.base.service.data.base_power_line_wellhead.DynamicQueryBasePowerLineWellheadViewOutput;
import pps.core.base.service.data.base_power_line_wellhead.GetBasePowerLineWellheadViewOutput;
import pps.core.base.utils.ServiceUtil;
import pps.core.common.constant.BusinessConstant;
import pps.core.common.entity.BaseModel;
import pps.core.common.session.PpsUserSession;
import pps.core.common.utils.BaseUtils;
import pps.core.system.constant.DictTypeConstant;
import xstartup.annotation.XService;
import xstartup.annotation.XText;
import xstartup.base.XContext;
......@@ -194,8 +194,8 @@ public class BasePowerLineService {
} else {
output.setDieselInputs(new ArrayList<>(0));
}
Map<String, String> gridTypeMap = ServiceUtil.getDictMap(context, DictTypeConstant.GRID_TYPE);
Map<String, String> lineTypeMap = ServiceUtil.getDictMap(context, DictTypeConstant.LINE_TYPE);
Map<String, String> gridTypeMap = ServiceUtil.getDictMap(context, BusinessConstant.GRID_TYPE);
Map<String, String> lineTypeMap = ServiceUtil.getDictMap(context, BusinessConstant.LINE_TYPE);
output.setGridTypeName(
gridTypeMap.get(output.getGridTypeKey())
);
......@@ -232,8 +232,8 @@ public class BasePowerLineService {
.distinct()
.collect(Collectors.toList())
);
Map<String, String> gridTypeMap = ServiceUtil.getDictMap(context, DictTypeConstant.GRID_TYPE);
Map<String, String> lineTypeMap = ServiceUtil.getDictMap(context, DictTypeConstant.LINE_TYPE);
Map<String, String> gridTypeMap = ServiceUtil.getDictMap(context, BusinessConstant.GRID_TYPE);
Map<String, String> lineTypeMap = ServiceUtil.getDictMap(context, BusinessConstant.LINE_TYPE);
for (QueryBasePowerLineViewOutput output : outputs) {
output.setOuName(
ouMap.get(output.getOuId())
......@@ -304,7 +304,7 @@ public class BasePowerLineService {
List<BasePowerLineWellheadView> selectList = wellheadViewMapper.selectList(basePowerLineWellheadView);
List<DynamicQueryBasePowerLineWellheadViewOutput> lineOutputList = XCopyUtils.copyNewList(selectList, DynamicQueryBasePowerLineWellheadViewOutput.class);
if (CollUtil.isNotEmpty(lineOutputList)) {
Map<String, String> dictMap = ServiceUtil.getDictMap(context, DictTypeConstant.RUN_TYPE);
Map<String, String> dictMap = ServiceUtil.getDictMap(context, BusinessConstant.RUN_TYPE);
for (DynamicQueryBasePowerLineWellheadViewOutput output : lineOutputList) {
output.setRunTypeValue(
dictMap.get(output.getRunTypeKey())
......
......@@ -14,10 +14,10 @@ import pps.core.base.service.data.base_price_strategy_month.CreateBasePriceStrat
import pps.core.base.service.data.base_price_strategy_month.GetBasePriceStrategyMonthOutput;
import pps.core.base.service.data.base_price_strategy_month.UpdateBasePriceStrategyMonthInput;
import pps.core.base.utils.ServiceUtil;
import pps.core.common.constant.BusinessConstant;
import pps.core.common.entity.BaseModel;
import pps.core.common.session.PpsUserSession;
import pps.core.common.utils.BaseUtils;
import pps.core.system.constant.DictTypeConstant;
import xstartup.annotation.XService;
import xstartup.annotation.XText;
import xstartup.base.XContext;
......@@ -210,7 +210,7 @@ public class BasePriceStrategyService {
BasePriceStrategyDetailEnt::getInternalSettlementPrice)
.eq(BasePriceStrategyDetailEnt::getStrategyId, strategyId));
if (CollUtil.isNotEmpty(detailEntList)) {
Map<String, String> dictMap = ServiceUtil.getDictMap(context, DictTypeConstant.TIME_FRAME);
Map<String, String> dictMap = ServiceUtil.getDictMap(context, BusinessConstant.TIME_FRAME);
List<GetBasePriceStrategyDetailOutput> detailOutputs = XCopyUtils.copyNewList(detailEntList, GetBasePriceStrategyDetailOutput.class);
for (GetBasePriceStrategyDetailOutput detailOutput : detailOutputs) {
detailOutput.setPeriodTypeValue(
......
......@@ -3,19 +3,15 @@ package pps.core.space.service;
import cn.hutool.core.collection.CollUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import pps.core.common.constant.BusinessConstant;
import pps.core.common.entity.BaseModel;
import pps.core.common.session.PpsUserSession;
import pps.core.common.utils.BaseUtils;
import pps.core.space.entity.SpaceInstitutionDetailEnt;
import pps.core.space.entity.SpaceInstitutionDetailView;
import pps.core.space.entity.SpaceInstitutionDurationEnt;
import pps.core.space.entity.SpaceInstitutionWellheadView;
import pps.core.space.mapper.SpaceInstitutionDetailMapper;
import pps.core.space.mapper.SpaceInstitutionDetailViewMapper;
import pps.core.space.mapper.SpaceInstitutionDurationMapper;
import pps.core.space.mapper.SpaceInstitutionWellheadViewMapper;
import pps.core.space.entity.*;
import pps.core.space.mapper.*;
import pps.core.space.service.data.space_institution_detail.*;
import pps.core.space.service.data.space_institution_wellhead.CreateSpaceInstitutionWellheadInput;
import pps.core.space.service.data.space_institution_wellhead.UpdateSpaceInstitutionWellheadInput;
......@@ -34,6 +30,7 @@ import xstartup.feature.api.annotation.XApiPost;
import xstartup.feature.mybatis.helper.XMapperHelper;
import xstartup.helper.XTransactionHelper;
import java.util.Date;
import java.util.List;
import java.util.Objects;
......@@ -127,18 +124,59 @@ public class SpaceInstitutionDetailService {
});
}
/**
* 基础间开配置--删除
*
* @param context 上下文
* @param input 输入
* @return {@link XServiceResult}
*/
@XApiAnonymous
@XApiPost
@XText("基础间开配置--删除")
public XServiceResult deleteSpaceInstitutionDetail(XContext context, DeleteSpaceInstitutionDetailInput input) {
PpsUserSession session = new PpsUserSession();
session.setId("123");
session.setUserName("ceshi");
// PpsUserSession session = context.getSession(PpsUserSession.class);
String institutionId = input.getId();
return XTransactionHelper.begin(context, () -> {
SpaceInstitutionDetailMapper mapper = context.getBean(SpaceInstitutionDetailMapper.class);
QueryWrapper<SpaceInstitutionDetailEnt> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(SpaceInstitutionDetailEnt::getId, input.getId());
SpaceInstitutionDetailEnt entity = mapper.selectOne(queryWrapper);
if (entity == null) {
SpaceInstitutionDetailEnt entity = mapper.selectOne(new LambdaQueryWrapper<SpaceInstitutionDetailEnt>()
.eq(BaseModel::getId, institutionId)
);
if (Objects.isNull(entity)) {
return XServiceResult.error(context, XError.NotFound);
}
mapper.deleteById(entity);
Integer isCurrentBasic = entity.getIsCurrentBasic();
if (isCurrentBasic.equals(0)) {
return XServiceResult.error(992, "基础制度无法删除");
}
SpaceInstitutionDurationMapper durationMapper = context.getBean(SpaceInstitutionDurationMapper.class);
durationMapper.update(null, new LambdaUpdateWrapper<SpaceInstitutionDurationEnt>()
.eq(SpaceInstitutionDurationEnt::getInstitutionId, institutionId)
.set(BaseModel::getIsDeleted, BusinessConstant.DELETE)
.set(SpaceInstitutionDurationEnt::getModifyById, session.getId())
.set(SpaceInstitutionDurationEnt::getModifyByName, session.getUserName())
.set(SpaceInstitutionDurationEnt::getModifyTime, new Date())
);
SpaceInstitutionWellheadMapper wellheadMapper = context.getBean(SpaceInstitutionWellheadMapper.class);
wellheadMapper.update(null, new LambdaUpdateWrapper<SpaceInstitutionWellheadEnt>()
.eq(SpaceInstitutionWellheadEnt::getInstitutionId, institutionId)
.set(BaseModel::getIsDeleted, BusinessConstant.DELETE)
.set(SpaceInstitutionWellheadEnt::getModifyById, session.getId())
.set(SpaceInstitutionWellheadEnt::getModifyByName, session.getUserName())
.set(SpaceInstitutionWellheadEnt::getModifyTime, new Date())
);
mapper.update(null, new LambdaUpdateWrapper<SpaceInstitutionDetailEnt>()
.eq(BaseModel::getId, institutionId)
.set(BaseModel::getIsDeleted, BusinessConstant.DELETE)
.set(SpaceInstitutionDetailEnt::getModifyById, session.getId())
.set(SpaceInstitutionDetailEnt::getModifyByName, session.getUserName())
.set(SpaceInstitutionDetailEnt::getModifyTime, new Date())
);
return XServiceResult.OK;
});
}
@XApiAnonymous
......
package pps.core.space.service.data.space_institution_detail;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import xstartup.annotation.XText;
import java.util.Date;
/**
* 基础间开配置
*
* @author ZWT
* @date 2023/09/05
*/
@Data
public class DeleteSpaceInstitutionDetailInput {
@XText("ID")
@NotBlank(message = "缺少间开制度ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("组织机构ID")
private String ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String institutionName;
@XText("制度开始时间")
private Date institutionStartDate;
@XText("制度结束时间")
private Date institutionEndDate;
@XText("优化至")
private Date optimizeDeadline;
@XText("优化状态(0_已优化,1_未优化)")
private Integer optimizeState;
@XText("当前基础制度(0_是,1_否)")
private Integer isCurrentBasic;
@XText("启动间隔(分钟)")
private Integer startInterval;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getOuId() {
return this.ouId;
}
public void setOuId(String value) {
this.ouId = value;
}
public String getLineId() {
return this.lineId;
}
public void setLineId(String value) {
this.lineId = value;
}
public String getGridTypeKey() {
return this.gridTypeKey;
}
public void setGridTypeKey(String value) {
this.gridTypeKey = value;
}
public String getInstitutionName() {
return this.institutionName;
}
public void setInstitutionName(String value) {
this.institutionName = value;
}
public Date getInstitutionStartDate() {
return this.institutionStartDate;
}
public void setInstitutionStartDate(Date value) {
this.institutionStartDate = value;
}
public Date getInstitutionEndDate() {
return this.institutionEndDate;
}
public void setInstitutionEndDate(Date value) {
this.institutionEndDate = value;
}
public Date getOptimizeDeadline() {
return this.optimizeDeadline;
}
public void setOptimizeDeadline(Date value) {
this.optimizeDeadline = value;
}
public Integer getOptimizeState() {
return this.optimizeState;
}
public void setOptimizeState(Integer value) {
this.optimizeState = value;
}
public Integer getIsCurrentBasic() {
return this.isCurrentBasic;
}
public void setIsCurrentBasic(Integer value) {
this.isCurrentBasic = value;
}
public Integer getStartInterval() {
return this.startInterval;
}
public void setStartInterval(Integer value) {
this.startInterval = value;
}
}
package pps.core.space.service.data.space_institution_duration;
import xstartup.annotation.XText;
import java.util.Date;
public class DeleteSpaceInstitutionDurationInput {
@XText("ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("间开制度ID")
private String institutionId;
@XText("间开制度井口配置ID")
private String configId;
@XText("井口ID")
private String wellheadId;
@XText("发电类型key(字典获取)")
private String generationTypeKey;
@XText("开井时间")
private String openWellTime;
@XText("关井时间")
private String closeWellTime;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getInstitutionId() {
return this.institutionId;
}
public void setInstitutionId(String value) {
this.institutionId = value;
}
public String getConfigId() {
return this.configId;
}
public void setConfigId(String value) {
this.configId = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = value;
}
public String getGenerationTypeKey() {
return this.generationTypeKey;
}
public void setGenerationTypeKey(String value) {
this.generationTypeKey = value;
}
public String getOpenWellTime() {
return this.openWellTime;
}
public void setOpenWellTime(String value) {
this.openWellTime = value;
}
public String getCloseWellTime() {
return this.closeWellTime;
}
public void setCloseWellTime(String value) {
this.closeWellTime = value;
}
}
package pps.core.space.service.data.space_institution_duration;
import xstartup.annotation.XText;
import java.util.Date;
public class DeleteSpaceInstitutionDurationOutput {
@XText("ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("间开制度ID")
private String institutionId;
@XText("间开制度井口配置ID")
private String configId;
@XText("井口ID")
private String wellheadId;
@XText("发电类型key(字典获取)")
private String generationTypeKey;
@XText("开井时间")
private String openWellTime;
@XText("关井时间")
private String closeWellTime;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getInstitutionId() {
return this.institutionId;
}
public void setInstitutionId(String value) {
this.institutionId = value;
}
public String getConfigId() {
return this.configId;
}
public void setConfigId(String value) {
this.configId = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = value;
}
public String getGenerationTypeKey() {
return this.generationTypeKey;
}
public void setGenerationTypeKey(String value) {
this.generationTypeKey = value;
}
public String getOpenWellTime() {
return this.openWellTime;
}
public void setOpenWellTime(String value) {
this.openWellTime = value;
}
public String getCloseWellTime() {
return this.closeWellTime;
}
public void setCloseWellTime(String value) {
this.closeWellTime = value;
}
}
package pps.core.space.service.data.space_institution_wellhead;
import xstartup.annotation.XText;
import java.math.BigDecimal;
import java.util.Date;
public class CreateSpaceInstitutionWellheadOutput {
@XText("ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("间开制度ID")
private String institutionId;
@XText("井口ID")
private String wellheadId;
@XText("井号")
private String wellNumber;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@XText("启动顺序")
private Integer startSeq;
@XText("开井天数")
private Integer openWellDay;
@XText("关井天数")
private Integer closeWellDay;
@XText("运行时长(小时/天)")
private BigDecimal runDuration;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getInstitutionId() {
return this.institutionId;
}
public void setInstitutionId(String value) {
this.institutionId = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getRunTypeKey() {
return this.runTypeKey;
}
public void setRunTypeKey(String value) {
this.runTypeKey = value;
}
public String getIntervalTypeKey() {
return this.intervalTypeKey;
}
public void setIntervalTypeKey(String value) {
this.intervalTypeKey = value;
}
public String getIntervalDescribe() {
return this.intervalDescribe;
}
public void setIntervalDescribe(String value) {
this.intervalDescribe = value;
}
public Integer getStartSeq() {
return this.startSeq;
}
public void setStartSeq(Integer value) {
this.startSeq = value;
}
public Integer getOpenWellDay() {
return this.openWellDay;
}
public void setOpenWellDay(Integer value) {
this.openWellDay = value;
}
public Integer getCloseWellDay() {
return this.closeWellDay;
}
public void setCloseWellDay(Integer value) {
this.closeWellDay = value;
}
public BigDecimal getRunDuration() {
return this.runDuration;
}
public void setRunDuration(BigDecimal value) {
this.runDuration = value;
}
}
package pps.core.space.service.data.space_institution_wellhead;
import xstartup.annotation.XText;
import java.math.BigDecimal;
import java.util.Date;
public class DeleteSpaceInstitutionWellheadInput {
@XText("ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("间开制度ID")
private String institutionId;
@XText("井口ID")
private String wellheadId;
@XText("井号")
private String wellNumber;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@XText("启动顺序")
private Integer startSeq;
@XText("开井天数")
private Integer openWellDay;
@XText("关井天数")
private Integer closeWellDay;
@XText("运行时长(小时/天)")
private BigDecimal runDuration;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getInstitutionId() {
return this.institutionId;
}
public void setInstitutionId(String value) {
this.institutionId = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getRunTypeKey() {
return this.runTypeKey;
}
public void setRunTypeKey(String value) {
this.runTypeKey = value;
}
public String getIntervalTypeKey() {
return this.intervalTypeKey;
}
public void setIntervalTypeKey(String value) {
this.intervalTypeKey = value;
}
public String getIntervalDescribe() {
return this.intervalDescribe;
}
public void setIntervalDescribe(String value) {
this.intervalDescribe = value;
}
public Integer getStartSeq() {
return this.startSeq;
}
public void setStartSeq(Integer value) {
this.startSeq = value;
}
public Integer getOpenWellDay() {
return this.openWellDay;
}
public void setOpenWellDay(Integer value) {
this.openWellDay = value;
}
public Integer getCloseWellDay() {
return this.closeWellDay;
}
public void setCloseWellDay(Integer value) {
this.closeWellDay = value;
}
public BigDecimal getRunDuration() {
return this.runDuration;
}
public void setRunDuration(BigDecimal value) {
this.runDuration = value;
}
}
package pps.core.space.service.data.space_institution_wellhead;
import xstartup.annotation.XText;
import java.math.BigDecimal;
import java.util.Date;
public class DeleteSpaceInstitutionWellheadOutput {
@XText("ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("间开制度ID")
private String institutionId;
@XText("井口ID")
private String wellheadId;
@XText("井号")
private String wellNumber;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@XText("启动顺序")
private Integer startSeq;
@XText("开井天数")
private Integer openWellDay;
@XText("关井天数")
private Integer closeWellDay;
@XText("运行时长(小时/天)")
private BigDecimal runDuration;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getInstitutionId() {
return this.institutionId;
}
public void setInstitutionId(String value) {
this.institutionId = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getRunTypeKey() {
return this.runTypeKey;
}
public void setRunTypeKey(String value) {
this.runTypeKey = value;
}
public String getIntervalTypeKey() {
return this.intervalTypeKey;
}
public void setIntervalTypeKey(String value) {
this.intervalTypeKey = value;
}
public String getIntervalDescribe() {
return this.intervalDescribe;
}
public void setIntervalDescribe(String value) {
this.intervalDescribe = value;
}
public Integer getStartSeq() {
return this.startSeq;
}
public void setStartSeq(Integer value) {
this.startSeq = value;
}
public Integer getOpenWellDay() {
return this.openWellDay;
}
public void setOpenWellDay(Integer value) {
this.openWellDay = value;
}
public Integer getCloseWellDay() {
return this.closeWellDay;
}
public void setCloseWellDay(Integer value) {
this.closeWellDay = value;
}
public BigDecimal getRunDuration() {
return this.runDuration;
}
public void setRunDuration(BigDecimal value) {
this.runDuration = value;
}
}
package pps.core.space.service.data.space_institution_wellhead;
import xstartup.annotation.XText;
import java.math.BigDecimal;
import java.util.Date;
public class UpdateSpaceInstitutionWellheadOutput {
@XText("ID")
private String id;
@XText("是否删除(0_是,1_否)")
private Integer isDeleted;
@XText("创建人ID")
private String createById;
@XText("创建人名称")
private String createByName;
@XText("创建时间")
private Date createTime;
@XText("修改人ID")
private String modifyById;
@XText("修改人名称")
private String modifyByName;
@XText("修改时间")
private Date modifyTime;
@XText("间开制度ID")
private String institutionId;
@XText("井口ID")
private String wellheadId;
@XText("井号")
private String wellNumber;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@XText("启动顺序")
private Integer startSeq;
@XText("开井天数")
private Integer openWellDay;
@XText("关井天数")
private Integer closeWellDay;
@XText("运行时长(小时/天)")
private BigDecimal runDuration;
public String getId() {
return this.id;
}
public void setId(String value) {
this.id = value;
}
public Integer getIsDeleted() {
return this.isDeleted;
}
public void setIsDeleted(Integer value) {
this.isDeleted = value;
}
public String getCreateById() {
return this.createById;
}
public void setCreateById(String value) {
this.createById = value;
}
public String getCreateByName() {
return this.createByName;
}
public void setCreateByName(String value) {
this.createByName = value;
}
public Date getCreateTime() {
return this.createTime;
}
public void setCreateTime(Date value) {
this.createTime = value;
}
public String getModifyById() {
return this.modifyById;
}
public void setModifyById(String value) {
this.modifyById = value;
}
public String getModifyByName() {
return this.modifyByName;
}
public void setModifyByName(String value) {
this.modifyByName = value;
}
public Date getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Date value) {
this.modifyTime = value;
}
public String getInstitutionId() {
return this.institutionId;
}
public void setInstitutionId(String value) {
this.institutionId = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getRunTypeKey() {
return this.runTypeKey;
}
public void setRunTypeKey(String value) {
this.runTypeKey = value;
}
public String getIntervalTypeKey() {
return this.intervalTypeKey;
}
public void setIntervalTypeKey(String value) {
this.intervalTypeKey = value;
}
public String getIntervalDescribe() {
return this.intervalDescribe;
}
public void setIntervalDescribe(String value) {
this.intervalDescribe = value;
}
public Integer getStartSeq() {
return this.startSeq;
}
public void setStartSeq(Integer value) {
this.startSeq = value;
}
public Integer getOpenWellDay() {
return this.openWellDay;
}
public void setOpenWellDay(Integer value) {
this.openWellDay = value;
}
public Integer getCloseWellDay() {
return this.closeWellDay;
}
public void setCloseWellDay(Integer value) {
this.closeWellDay = value;
}
public BigDecimal getRunDuration() {
return this.runDuration;
}
public void setRunDuration(BigDecimal value) {
this.runDuration = value;
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment