技术监督管理调整

This commit is contained in:
2023-06-29 11:21:10 +08:00
parent 371a946721
commit 809056a257
12 changed files with 326 additions and 102 deletions

View File

@@ -71,21 +71,18 @@ public class SupvPlanParam extends BaseParam {
* 监督对象名称
*/
@ApiModelProperty(value = "监督对象名称")
@NotBlank(message = "监督对象名称不可为空")
private String supvObjName;
/**
* 对象类型
* 监督对象类型
*/
@ApiModelProperty(value = "对象类型")
@NotBlank(message = "对象类型不可为空")
private String supvObjType;
/**
* 对象电压等级
* 监督对象电压等级
*/
@ApiModelProperty(value = "对象电压等级")
@NotBlank(message = "对象电压等级不可为空")
private String objVoltageLevel;
/**

View File

@@ -1,5 +1,6 @@
package com.njcn.process.pojo.po;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
@@ -30,16 +31,29 @@ public class SupvPlan extends BaseEntity {
@TableId
private String planId;
@TableField(exist = false)
private String provinceId;
@TableField(exist = false)
private String provinceName;
@TableField(exist = false)
private String cityId;
@TableField(exist = false)
private String cityName;
@TableField(exist = false)
private String countyId;
@TableField(exist = false)
private String countyName;
/**
* 计划名称
*/
private String workPlanName;
/**
* 监督单位
*/
private String supvOrgId;
/**
* 监督类型
*/
@@ -50,17 +64,71 @@ public class SupvPlan extends BaseEntity {
*/
private String supvStage;
/**
* 监督单位
*/
private String supvOrgId;
/**
* 监督单位
*/
@TableField(exist = false)
private String supvOrgName;
/**
* 计划监督时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate planSupvDate;
/**
* 计划编制人id
*/
private String planUserId;
@TableField(exist = false)
private String planUserName;
/**
* 计划编制单位id
*/
private String planOrgId;
@TableField(exist = false)
private String planOrgName;
/**
* 备注
*/
private String otherRemark;
/**
* 计划执行开始时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate effectStartTime;
/**
* 计划执行结束时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate effectEndTime;
/**
* 实施状态
*/
private String effectStatus;
/**
* 监督对象名称
*/
private String supvObjName;
@TableField(exist = false)
private String supvObjId;
/**
* 对象类型
*/
@@ -71,6 +139,9 @@ public class SupvPlan extends BaseEntity {
*/
private String objVoltageLevel;
@TableField(exist = false)
private String objVoltageLevelName;
/**
* 关联电站
*/
@@ -82,6 +153,12 @@ public class SupvPlan extends BaseEntity {
*/
private String substationVoltageLevel;
/**
* 关联电站电压等级名称
*/
@TableField(exist = false)
private String substationVoltageLevelName;
/**
* 监督对象属性
@@ -98,17 +175,7 @@ public class SupvPlan extends BaseEntity {
*/
private Double objCapacity;
/**
* 计划执行开始时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate effectStartTime;
/**
* 计划执行结束时间
*/
@JsonFormat(pattern = "yyyy-MM-dd")
private LocalDate effectEndTime;
/**
* 报告出具时间
@@ -122,26 +189,9 @@ public class SupvPlan extends BaseEntity {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime problemOcTime;
/**
* 备注
*/
private String otherRemark;
/**
* 计划编制人id
*/
private String planUserId;
/**
* 计划编制单位id
*/
private String planOrgId;
/**
* 实施状态
*/
private String effectStatus;
/**
* 0.未上送 1.上送 2.取消上送