1.现场监督计划调整

This commit is contained in:
2024-11-29 16:35:10 +08:00
parent 401195fc7b
commit 8f57310625
7 changed files with 53 additions and 14 deletions

View File

@@ -153,6 +153,9 @@ public class SupvProblemParam extends BaseParam {
@DateTimeStrValid(format="yyyy-MM-dd HH:mm:ss",message = "问题发现时间格式有误")
private String discoveryTime;
@ApiModelProperty("告预警单id,当ifReleaseWarning为是时必填")
private String workAlarmId;
@EqualsAndHashCode(callSuper = true)
@Data
public static class UpdateSupvProblemParam extends SupvProblemParam{

View File

@@ -156,4 +156,9 @@ public class SupvProblem extends BaseEntity {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime discoveryTime;
@ApiModelProperty("告预警单id,当ifReleaseWarning为是时必填")
private String workAlarmId;
}

View File

@@ -110,4 +110,7 @@ public class SupvProblemVO {
@Excel(name = "备注",width = 40)
private String remark;
@ApiModelProperty("告预警单id,当ifReleaseWarning为是时必填")
private String workAlarmId;
}

View File

@@ -76,9 +76,7 @@ public class AlarmVO {
private String receiveUserName;
@ApiModelProperty("编制时间 yyyy-MM-dd HH:mm:ss")
@TableField("creater_Time")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
private LocalDateTime createrTime;
private Long createrTime;
@ApiModelProperty("主管部门id,取ISC平台上的组织id")
@TableField("manager_Dept_Id")
@@ -120,6 +118,17 @@ public class AlarmVO {
@TableField("is_upload_head")
private Integer isUploadHead;
@ApiModelProperty("告预警单id,当ifReleaseWarning为是时必填")
private String workAlarmId;
public String getWorkAlarmId() {
return workAlarmId;
}
public void setWorkAlarmId(String workAlarmId) {
this.workAlarmId = workAlarmId;
}
public void setAlarmId(String alarmId) {
if (StrUtil.isNotBlank(alarmId)) {
this.alarmId = alarmId;
@@ -224,7 +233,7 @@ public class AlarmVO {
}
}
public void setCreaterTime(LocalDateTime createrTime) {
public void setCreaterTime(Long createrTime) {
this.createrTime = createrTime;
}