Commit b4254e6a authored by ZWT's avatar ZWT

feat(能源管理系统): 组织机构管理

1.修改组织机构管理分页列表功能,优化sql查询逻辑及代码业务处理逻辑,解决组织部分信息获取错误问题,完成接口冒烟测试并添加线上接口文档;
2.开发组织机构管理模块动态列表查询功能,添加线上接口文档并完成接口冒烟测试;

BREAKING CHANGE: 无

Closes 无

[skip ci]
parent 3b821a18
package pps.core.space.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import pps.core.common.entity.BaseEnt;
import xstartup.annotation.XText;
import java.io.Serializable;
import java.util.Date;
/**
* 间开制度小间开时段配置
*
* @author ZWT
* @date 2023/08/29
*/
@Data
@TableName("space_interval_duration")
public class SpaceIntervalDurationEnt extends BaseEnt implements Serializable {
@XText("间开制度ID")
@TableField
private String intervalId;
@XText("间开制度井口配置ID")
@TableField
private String configId;
@XText("开井时间")
@TableField
private Date openWellTime;
@XText("关井时间")
@TableField
private Date closeWellTime;
}
package pps.core.space.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import xstartup.annotation.XText;
import java.io.Serializable;
import java.util.Date;
/**
* 间开制度小间开时段配置
*
* @author ZWT
* @date 2023/08/29
*/
@Data
public class SpaceIntervalDurationView implements Serializable {
@XText("ID")
@TableField
private String id;
@XText("是否删除(0_是;1_否)")
@TableField
private Integer isDeleted;
@XText("创建人ID")
@TableField
private String createById;
@XText("创建人名称")
@TableField
private String createByName;
@XText("创建时间")
@TableField
private Date createTime;
@XText("修改人ID")
@TableField
private String modifyById;
@XText("修改人名称")
@TableField
private String modifyByName;
@XText("修改时间")
@TableField
private Date modifyTime;
@XText("间开制度ID")
@TableField
private String intervalId;
@XText("间开制度井口配置ID")
@TableField
private String configId;
@XText("开井时间")
@TableField
private Date openWellTime;
@XText("关井时间")
@TableField
private Date closeWellTime;
}
package pps.core.space.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import pps.core.common.entity.BaseEnt;
import xstartup.annotation.XText;
import java.io.Serializable;
import java.util.Date;
/**
* 间开制度详情
*
* @author ZWT
* @date 2023/08/29
*/
@Data
@TableName("space_interval_system")
public class SpaceIntervalSystemEnt extends BaseEnt implements Serializable {
@XText("组织机构ID")
@TableField
private String ouId;
@XText("线路ID")
@TableField
private String lineId;
@XText("电网类型key(字典获取)")
@TableField
private String gridTypeKey;
@XText("制度名称")
@TableField
private String systemName;
@XText("制度开始时间")
@TableField
private Date systemStartDate;
@XText("制度结束时间")
@TableField
private Date systemEndDate;
@XText("优化至")
@TableField
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
@TableField
private Integer isCurrentRun;
}
package pps.core.space.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import xstartup.annotation.XText;
import java.io.Serializable;
import java.util.Date;
/**
* 间开制度详情
*
* @author ZWT
* @date 2023/08/29
*/
@Data
public class SpaceIntervalSystemView implements Serializable {
@XText("ID")
@TableField
private String id;
@XText("是否删除(0_是;1_否)")
@TableField
private Integer isDeleted;
@XText("创建人ID")
@TableField
private String createById;
@XText("创建人名称")
@TableField
private String createByName;
@XText("创建时间")
@TableField
private Date createTime;
@XText("修改人ID")
@TableField
private String modifyById;
@XText("修改人名称")
@TableField
private String modifyByName;
@XText("修改时间")
@TableField
private Date modifyTime;
@XText("组织机构ID")
@TableField
private String ouId;
@XText("线路ID")
@TableField
private String lineId;
@XText("电网类型key(字典获取)")
@TableField
private String gridTypeKey;
@XText("制度名称")
@TableField
private String systemName;
@XText("制度开始时间")
@TableField
private Date systemStartDate;
@XText("制度结束时间")
@TableField
private Date systemEndDate;
@XText("优化至")
@TableField
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
@TableField
private Integer isCurrentRun;
}
package pps.core.space.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import pps.core.common.entity.BaseEnt;
import xstartup.annotation.XText;
import java.io.Serializable;
import java.math.BigDecimal;
/**
* 间开制度井口配置
*
* @author ZWT
* @date 2023/08/29
*/
@Data
@TableName("space_interval_wellhead_config")
public class SpaceIntervalWellheadConfigEnt extends BaseEnt implements Serializable {
@XText("间开制度ID")
@TableField
private String intervalId;
@XText("井号")
@TableField
private String wellNumber;
@XText("井口ID")
@TableField
private String wellheadId;
@XText("运行类型key(字典获取)")
@TableField
private String runTypeKey;
@XText("间开类型key(字典获取)")
@TableField
private String intervalTypeKey;
@XText("间开描述")
@TableField
private String intervalDescribe;
@XText("开井天数")
@TableField
private Integer openWellDay;
@XText("关井天数")
@TableField
private Integer closeWellDay;
@XText("运行时长(小时/天)")
@TableField
private BigDecimal runDuration;
}
package pps.core.space.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import xstartup.annotation.XText;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* 间开制度井口配置
*
* @author ZWT
* @date 2023/08/29
*/
@Data
public class SpaceIntervalWellheadConfigView implements Serializable {
@XText("ID")
@TableField
private String id;
@XText("是否删除(0_是;1_否)")
@TableField
private Integer isDeleted;
@XText("创建人ID")
@TableField
private String createById;
@XText("创建人名称")
@TableField
private String createByName;
@XText("创建时间")
@TableField
private Date createTime;
@XText("修改人ID")
@TableField
private String modifyById;
@XText("修改人名称")
@TableField
private String modifyByName;
@XText("修改时间")
@TableField
private Date modifyTime;
@XText("间开制度ID")
@TableField
private String intervalId;
@XText("井号")
@TableField
private String wellNumber;
@XText("井口ID")
@TableField
private String wellheadId;
@XText("运行类型key(字典获取)")
@TableField
private String runTypeKey;
@XText("间开类型key(字典获取)")
@TableField
private String intervalTypeKey;
@XText("间开描述")
@TableField
private String intervalDescribe;
@XText("开井天数")
@TableField
private Integer openWellDay;
@XText("关井天数")
@TableField
private Integer closeWellDay;
@XText("运行时长(小时/天)")
@TableField
private BigDecimal runDuration;
}
package pps.core.space.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import pps.core.space.entity.SpaceIntervalDurationEnt;
@Repository(value="pps.core.space.mapper.SpaceIntervalDurationMapper")
public interface SpaceIntervalDurationMapper extends BaseMapper<SpaceIntervalDurationEnt> {
}
package pps.core.space.mapper;
import org.springframework.stereotype.Repository;
import pps.core.space.entity.SpaceIntervalDurationView;
import java.util.List;
@Repository(value="pps.core.space.mapper.SpaceIntervalDurationViewMapper")
public interface SpaceIntervalDurationViewMapper {
SpaceIntervalDurationView selectOne(SpaceIntervalDurationView record);
List<SpaceIntervalDurationView> selectList(SpaceIntervalDurationView record);
}
package pps.core.space.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import pps.core.space.entity.SpaceIntervalSystemEnt;
@Repository(value="pps.core.space.mapper.SpaceIntervalSystemMapper")
public interface SpaceIntervalSystemMapper extends BaseMapper<SpaceIntervalSystemEnt> {
}
package pps.core.space.mapper;
import org.springframework.stereotype.Repository;
import pps.core.space.entity.SpaceIntervalSystemView;
import java.util.List;
@Repository(value="pps.core.space.mapper.SpaceIntervalSystemViewMapper")
public interface SpaceIntervalSystemViewMapper {
SpaceIntervalSystemView selectOne(SpaceIntervalSystemView record);
List<SpaceIntervalSystemView> selectList(SpaceIntervalSystemView record);
}
package pps.core.space.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import pps.core.space.entity.SpaceIntervalWellheadConfigEnt;
@Repository(value="pps.core.space.mapper.SpaceIntervalWellheadConfigMapper")
public interface SpaceIntervalWellheadConfigMapper extends BaseMapper<SpaceIntervalWellheadConfigEnt> {
}
package pps.core.space.mapper;
import org.springframework.stereotype.Repository;
import pps.core.space.entity.SpaceIntervalWellheadConfigView;
import java.util.List;
@Repository(value="pps.core.space.mapper.SpaceIntervalWellheadConfigViewMapper")
public interface SpaceIntervalWellheadConfigViewMapper {
SpaceIntervalWellheadConfigView selectOne(SpaceIntervalWellheadConfigView record);
List<SpaceIntervalWellheadConfigView> selectList(SpaceIntervalWellheadConfigView record);
}
package pps.core.space.service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import pps.core.common.session.PpsUserSession;
import pps.core.space.entity.SpaceIntervalSystemEnt;
import pps.core.space.entity.SpaceIntervalSystemView;
import pps.core.space.mapper.SpaceIntervalSystemMapper;
import pps.core.space.mapper.SpaceIntervalSystemViewMapper;
import pps.core.space.service.data.space_interval_system.*;
import xstartup.annotation.XService;
import xstartup.annotation.XText;
import xstartup.base.XContext;
import xstartup.base.util.XCopyUtils;
import xstartup.data.XPageResult;
import xstartup.data.XServiceResult;
import xstartup.data.XSingleResult;
import xstartup.error.XError;
import xstartup.feature.api.annotation.XApiAnonymous;
import xstartup.feature.api.annotation.XApiGet;
import xstartup.feature.api.annotation.XApiPost;
import xstartup.helper.XTransactionHelper;
import java.util.List;
/**
* 基础间开制度
*
* @author ZWT
* @date 2023/08/29
*/
@XService
@XText(value = "基础间开制度")
public class SpaceIntervalSystemService {
/**
* 基础间开制度--新增
*
* @param context 上下文
* @param input 输入
* @return {@link XServiceResult}
*/
@XApiAnonymous
@XApiPost
@XText(value = "基础间开制度--新增")
public XServiceResult createSpaceIntervalSystem(XContext context, CreateSpaceIntervalSystemInput input) {
// PpsUserSession session = context.getSession(PpsUserSession.class);
PpsUserSession session = new PpsUserSession();
session.setId("123");
session.setUserName("ceshi");
return XTransactionHelper.begin(context, () -> {
SpaceIntervalSystemMapper mapper = context.getBean(SpaceIntervalSystemMapper.class);
SpaceIntervalSystemEnt entity = new SpaceIntervalSystemEnt();
XCopyUtils.copyObject(input, entity);
mapper.insert(entity);
return XServiceResult.OK;
});
}
@XApiAnonymous
@XApiPost
public XServiceResult updateSpaceIntervalSystem(XContext context, UpdateSpaceIntervalSystemInput input) {
SpaceIntervalSystemMapper mapper = context.getBean(SpaceIntervalSystemMapper.class);
QueryWrapper<SpaceIntervalSystemEnt> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(SpaceIntervalSystemEnt::getId, input.getId());
SpaceIntervalSystemEnt entity = mapper.selectOne(queryWrapper);
if (entity == null) {
return XServiceResult.error(context, XError.NotFound);
}
XCopyUtils.copyObject(input, entity);
mapper.updateById(entity);
return XServiceResult.OK;
}
@XApiAnonymous
@XApiPost
public XServiceResult deleteSpaceIntervalSystem(XContext context, DeleteSpaceIntervalSystemInput input) {
SpaceIntervalSystemMapper mapper = context.getBean(SpaceIntervalSystemMapper.class);
QueryWrapper<SpaceIntervalSystemEnt> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(SpaceIntervalSystemEnt::getId, input.getId());
SpaceIntervalSystemEnt entity = mapper.selectOne(queryWrapper);
if (entity == null) {
return XServiceResult.error(context, XError.NotFound);
}
mapper.deleteById(entity);
return XServiceResult.OK;
}
@XApiAnonymous
@XApiGet
public XSingleResult<GetSpaceIntervalSystemViewOutput> getSpaceIntervalSystemView(XContext context, GetSpaceIntervalSystemViewInput input) {
SpaceIntervalSystemViewMapper mapper = context.getBean(SpaceIntervalSystemViewMapper.class);
SpaceIntervalSystemView record = new SpaceIntervalSystemView();
XCopyUtils.copyObject(input, record);
SpaceIntervalSystemView view = mapper.selectOne(record);
if (view == null) {
return XSingleResult.error(context, XError.NotFound);
}
GetSpaceIntervalSystemViewOutput output = new GetSpaceIntervalSystemViewOutput();
XCopyUtils.copyObject(view, output);
return XSingleResult.success(output);
}
@XApiAnonymous
@XApiGet
public XPageResult<QuerySpaceIntervalSystemViewOutput> querySpaceIntervalSystemView(XContext context, QuerySpaceIntervalSystemViewInput input) {
SpaceIntervalSystemViewMapper mapper = context.getBean(SpaceIntervalSystemViewMapper.class);
SpaceIntervalSystemView record = new SpaceIntervalSystemView();
XCopyUtils.copyObject(input, record);
PageHelper.startPage(input.getPage(), input.getLimit());
List<SpaceIntervalSystemView> list = mapper.selectList(record);
PageInfo<SpaceIntervalSystemView> pageInfo = new PageInfo<>(list);
List<QuerySpaceIntervalSystemViewOutput> outputs = XCopyUtils.copyNewList(pageInfo.getList(), QuerySpaceIntervalSystemViewOutput.class);
return XPageResult.success(outputs, input, pageInfo.getTotal());
}
}
package pps.core.space.service.data.space_interval_duration;
import xstartup.annotation.XText;
import java.util.Date;
public class CreateSpaceIntervalDurationInput {
@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 intervalId;
@XText("间开制度井口配置ID")
private String configId;
@XText("开井时间")
private Date openWellTime;
@XText("关井时间")
private Date 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 getIntervalId() {
return this.intervalId;
}
public void setIntervalId(String value) {
this.intervalId = value;
}
public String getConfigId() {
return this.configId;
}
public void setConfigId(String value) {
this.configId = value;
}
public Date getOpenWellTime() {
return this.openWellTime;
}
public void setOpenWellTime(Date value) {
this.openWellTime = value;
}
public Date getCloseWellTime() {
return this.closeWellTime;
}
public void setCloseWellTime(Date value) {
this.closeWellTime = value;
}
}
package pps.core.space.service.data.space_interval_duration;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class GetSpaceIntervalDurationViewOutput {
@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 intervalId;
@XText("间开制度井口配置ID")
private String configId;
@XText("开井时间")
private Date openWellTime;
@XText("关井时间")
private Date 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 getIntervalId() {
return this.intervalId;
}
public void setIntervalId(String value) {
this.intervalId = value;
}
public String getConfigId() {
return this.configId;
}
public void setConfigId(String value) {
this.configId = value;
}
public Date getOpenWellTime() {
return this.openWellTime;
}
public void setOpenWellTime(Date value) {
this.openWellTime = value;
}
public Date getCloseWellTime() {
return this.closeWellTime;
}
public void setCloseWellTime(Date value) {
this.closeWellTime = value;
}
}
package pps.core.space.service.data.space_interval_duration;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class UpdateSpaceIntervalDurationInput {
@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 intervalId;
@XText("间开制度井口配置ID")
private String configId;
@XText("开井时间")
private Date openWellTime;
@XText("关井时间")
private Date 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 getIntervalId() {
return this.intervalId;
}
public void setIntervalId(String value) {
this.intervalId = value;
}
public String getConfigId() {
return this.configId;
}
public void setConfigId(String value) {
this.configId = value;
}
public Date getOpenWellTime() {
return this.openWellTime;
}
public void setOpenWellTime(Date value) {
this.openWellTime = value;
}
public Date getCloseWellTime() {
return this.closeWellTime;
}
public void setCloseWellTime(Date value) {
this.closeWellTime = value;
}
}
package pps.core.space.service.data.space_interval_system;
import lombok.Data;
import xstartup.annotation.XText;
import java.util.Date;
/**
* 间开制度详情
*
* @author ZWT
* @date 2023/08/29
*/
@Data
public class CreateSpaceIntervalSystemInput {
@XText("组织机构ID")
private String ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
}
package pps.core.space.service.data.space_interval_system;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class DeleteSpaceIntervalSystemInput {
@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 ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
@XText("优化至")
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
private Integer isCurrentRun;
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 getSystemName() {
return this.systemName;
}
public void setSystemName(String value) {
this.systemName = value;
}
public Date getSystemStartDate() {
return this.systemStartDate;
}
public void setSystemStartDate(Date value) {
this.systemStartDate = value;
}
public Date getSystemEndDate() {
return this.systemEndDate;
}
public void setSystemEndDate(Date value) {
this.systemEndDate = value;
}
public String getOptimizedTo() {
return this.optimizedTo;
}
public void setOptimizedTo(String value) {
this.optimizedTo = value;
}
public Integer getIsCurrentRun() {
return this.isCurrentRun;
}
public void setIsCurrentRun(Integer value) {
this.isCurrentRun = value;
}
}
package pps.core.space.service.data.space_interval_system;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class GetSpaceIntervalSystemViewInput {
@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 ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
@XText("优化至")
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
private Integer isCurrentRun;
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 getSystemName() {
return this.systemName;
}
public void setSystemName(String value) {
this.systemName = value;
}
public Date getSystemStartDate() {
return this.systemStartDate;
}
public void setSystemStartDate(Date value) {
this.systemStartDate = value;
}
public Date getSystemEndDate() {
return this.systemEndDate;
}
public void setSystemEndDate(Date value) {
this.systemEndDate = value;
}
public String getOptimizedTo() {
return this.optimizedTo;
}
public void setOptimizedTo(String value) {
this.optimizedTo = value;
}
public Integer getIsCurrentRun() {
return this.isCurrentRun;
}
public void setIsCurrentRun(Integer value) {
this.isCurrentRun = value;
}
}
package pps.core.space.service.data.space_interval_system;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class GetSpaceIntervalSystemViewOutput {
@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 ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
@XText("优化至")
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
private Integer isCurrentRun;
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 getSystemName() {
return this.systemName;
}
public void setSystemName(String value) {
this.systemName = value;
}
public Date getSystemStartDate() {
return this.systemStartDate;
}
public void setSystemStartDate(Date value) {
this.systemStartDate = value;
}
public Date getSystemEndDate() {
return this.systemEndDate;
}
public void setSystemEndDate(Date value) {
this.systemEndDate = value;
}
public String getOptimizedTo() {
return this.optimizedTo;
}
public void setOptimizedTo(String value) {
this.optimizedTo = value;
}
public Integer getIsCurrentRun() {
return this.isCurrentRun;
}
public void setIsCurrentRun(Integer value) {
this.isCurrentRun = value;
}
}
package pps.core.space.service.data.space_interval_system;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
import xstartup.base.data.XPageInput;
public class QuerySpaceIntervalSystemViewInput extends XPageInput {
@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 ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
@XText("优化至")
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
private Integer isCurrentRun;
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 getSystemName() {
return this.systemName;
}
public void setSystemName(String value) {
this.systemName = value;
}
public Date getSystemStartDate() {
return this.systemStartDate;
}
public void setSystemStartDate(Date value) {
this.systemStartDate = value;
}
public Date getSystemEndDate() {
return this.systemEndDate;
}
public void setSystemEndDate(Date value) {
this.systemEndDate = value;
}
public String getOptimizedTo() {
return this.optimizedTo;
}
public void setOptimizedTo(String value) {
this.optimizedTo = value;
}
public Integer getIsCurrentRun() {
return this.isCurrentRun;
}
public void setIsCurrentRun(Integer value) {
this.isCurrentRun = value;
}
}
package pps.core.space.service.data.space_interval_system;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
import xstartup.base.data.XPageInput;
public class QuerySpaceIntervalSystemViewOutput extends XPageInput {
@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 ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
@XText("优化至")
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
private Integer isCurrentRun;
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 getSystemName() {
return this.systemName;
}
public void setSystemName(String value) {
this.systemName = value;
}
public Date getSystemStartDate() {
return this.systemStartDate;
}
public void setSystemStartDate(Date value) {
this.systemStartDate = value;
}
public Date getSystemEndDate() {
return this.systemEndDate;
}
public void setSystemEndDate(Date value) {
this.systemEndDate = value;
}
public String getOptimizedTo() {
return this.optimizedTo;
}
public void setOptimizedTo(String value) {
this.optimizedTo = value;
}
public Integer getIsCurrentRun() {
return this.isCurrentRun;
}
public void setIsCurrentRun(Integer value) {
this.isCurrentRun = value;
}
}
package pps.core.space.service.data.space_interval_system;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class UpdateSpaceIntervalSystemInput {
@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 ouId;
@XText("线路ID")
private String lineId;
@XText("电网类型key(字典获取)")
private String gridTypeKey;
@XText("制度名称")
private String systemName;
@XText("制度开始时间")
private Date systemStartDate;
@XText("制度结束时间")
private Date systemEndDate;
@XText("优化至")
private String optimizedTo;
@XText("当前运行制度(0_是;1_否)")
private Integer isCurrentRun;
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 getSystemName() {
return this.systemName;
}
public void setSystemName(String value) {
this.systemName = value;
}
public Date getSystemStartDate() {
return this.systemStartDate;
}
public void setSystemStartDate(Date value) {
this.systemStartDate = value;
}
public Date getSystemEndDate() {
return this.systemEndDate;
}
public void setSystemEndDate(Date value) {
this.systemEndDate = value;
}
public String getOptimizedTo() {
return this.optimizedTo;
}
public void setOptimizedTo(String value) {
this.optimizedTo = value;
}
public Integer getIsCurrentRun() {
return this.isCurrentRun;
}
public void setIsCurrentRun(Integer value) {
this.isCurrentRun = value;
}
}
package pps.core.space.service.data.space_interval_wellhead_config;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class CreateSpaceIntervalWellheadConfigInput {
@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 intervalId;
@XText("井号")
private String wellNumber;
@XText("井口ID")
private String wellheadId;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@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 getIntervalId() {
return this.intervalId;
}
public void setIntervalId(String value) {
this.intervalId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = 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 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_interval_wellhead_config;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class GetSpaceIntervalWellheadConfigViewOutput {
@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 intervalId;
@XText("井号")
private String wellNumber;
@XText("井口ID")
private String wellheadId;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@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 getIntervalId() {
return this.intervalId;
}
public void setIntervalId(String value) {
this.intervalId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = 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 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_interval_wellhead_config;
import xstartup.annotation.XText;
import java.util.Date;
import java.math.BigDecimal;
public class UpdateSpaceIntervalWellheadConfigInput {
@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 intervalId;
@XText("井号")
private String wellNumber;
@XText("井口ID")
private String wellheadId;
@XText("运行类型key(字典获取)")
private String runTypeKey;
@XText("间开类型key(字典获取)")
private String intervalTypeKey;
@XText("间开描述")
private String intervalDescribe;
@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 getIntervalId() {
return this.intervalId;
}
public void setIntervalId(String value) {
this.intervalId = value;
}
public String getWellNumber() {
return this.wellNumber;
}
public void setWellNumber(String value) {
this.wellNumber = value;
}
public String getWellheadId() {
return this.wellheadId;
}
public void setWellheadId(String value) {
this.wellheadId = 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 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;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pps.core.space.mapper.SpaceIntervalDurationViewMapper">
<resultMap id="BaseResultMap" type="pps.core.space.entity.SpaceIntervalDurationView">
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="is_deleted" property="isDeleted" jdbcType="INTEGER" />
<result column="create_by_id" property="createById" jdbcType="VARCHAR" />
<result column="create_by_name" property="createByName" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="DATE" />
<result column="modify_by_id" property="modifyById" jdbcType="VARCHAR" />
<result column="modify_by_name" property="modifyByName" jdbcType="VARCHAR" />
<result column="modify_time" property="modifyTime" jdbcType="DATE" />
<result column="interval_id" property="intervalId" jdbcType="VARCHAR" />
<result column="config_id" property="configId" jdbcType="VARCHAR" />
<result column="open_well_time" property="openWellTime" jdbcType="TIME" />
<result column="close_well_time" property="closeWellTime" jdbcType="TIME" />
</resultMap>
<sql id="Base_Column_List">
id,
is_deleted,
create_by_id,
create_by_name,
create_time,
modify_by_id,
modify_by_name,
modify_time,
interval_id,
config_id,
open_well_time,
close_well_time
</sql>
<select id="selectOne" parameterType="pps.core.space.entity.SpaceIntervalDurationView" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from space_interval_duration
where
id=#{id}
</select>
<select id="selectList" parameterType="pps.core.space.entity.SpaceIntervalDurationView" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from space_interval_duration
where
id=#{id}
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pps.core.space.mapper.SpaceIntervalSystemViewMapper">
<resultMap id="BaseResultMap" type="pps.core.space.entity.SpaceIntervalSystemView">
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="is_deleted" property="isDeleted" jdbcType="INTEGER" />
<result column="create_by_id" property="createById" jdbcType="VARCHAR" />
<result column="create_by_name" property="createByName" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="DATE" />
<result column="modify_by_id" property="modifyById" jdbcType="VARCHAR" />
<result column="modify_by_name" property="modifyByName" jdbcType="VARCHAR" />
<result column="modify_time" property="modifyTime" jdbcType="DATE" />
<result column="ou_id" property="ouId" jdbcType="VARCHAR" />
<result column="line_id" property="lineId" jdbcType="VARCHAR" />
<result column="grid_type_key" property="gridTypeKey" jdbcType="VARCHAR" />
<result column="system_name" property="systemName" jdbcType="VARCHAR" />
<result column="system_start_date" property="systemStartDate" jdbcType="DATE" />
<result column="system_end_date" property="systemEndDate" jdbcType="DATE" />
<result column="optimized_to" property="optimizedTo" jdbcType="VARCHAR" />
<result column="is_current_run" property="isCurrentRun" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List">
id,
is_deleted,
create_by_id,
create_by_name,
create_time,
modify_by_id,
modify_by_name,
modify_time,
ou_id,
line_id,
grid_type_key,
system_name,
system_start_date,
system_end_date,
optimized_to,
is_current_run
</sql>
<select id="selectOne" parameterType="pps.core.space.entity.SpaceIntervalSystemView" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from space_interval_system
where
id=#{id}
</select>
<select id="selectList" parameterType="pps.core.space.entity.SpaceIntervalSystemView" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from space_interval_system
where
id=#{id}
</select>
</mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="pps.core.space.mapper.SpaceIntervalWellheadConfigViewMapper">
<resultMap id="BaseResultMap" type="pps.core.space.entity.SpaceIntervalWellheadConfigView">
<id column="id" property="id" jdbcType="VARCHAR" />
<result column="is_deleted" property="isDeleted" jdbcType="INTEGER" />
<result column="create_by_id" property="createById" jdbcType="VARCHAR" />
<result column="create_by_name" property="createByName" jdbcType="VARCHAR" />
<result column="create_time" property="createTime" jdbcType="DATE" />
<result column="modify_by_id" property="modifyById" jdbcType="VARCHAR" />
<result column="modify_by_name" property="modifyByName" jdbcType="VARCHAR" />
<result column="modify_time" property="modifyTime" jdbcType="DATE" />
<result column="interval_id" property="intervalId" jdbcType="VARCHAR" />
<result column="well_number" property="wellNumber" jdbcType="VARCHAR" />
<result column="wellhead_id" property="wellheadId" jdbcType="VARCHAR" />
<result column="run_type_key" property="runTypeKey" jdbcType="VARCHAR" />
<result column="interval_type_key" property="intervalTypeKey" jdbcType="VARCHAR" />
<result column="interval_describe" property="intervalDescribe" jdbcType="VARCHAR" />
<result column="open_well_day" property="openWellDay" jdbcType="INTEGER" />
<result column="close_well_day" property="closeWellDay" jdbcType="INTEGER" />
<result column="run_duration" property="runDuration" jdbcType="DECIMAL" />
</resultMap>
<sql id="Base_Column_List">
id,
is_deleted,
create_by_id,
create_by_name,
create_time,
modify_by_id,
modify_by_name,
modify_time,
interval_id,
well_number,
wellhead_id,
run_type_key,
interval_type_key,
interval_describe,
open_well_day,
close_well_day,
run_duration
</sql>
<select id="selectOne" parameterType="pps.core.space.entity.SpaceIntervalWellheadConfigView" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from space_interval_wellhead_config
where
id=#{id}
</select>
<select id="selectList" parameterType="pps.core.space.entity.SpaceIntervalWellheadConfigView" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from space_interval_wellhead_config
where
id=#{id}
</select>
</mapper>
\ No newline at end of file
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