5-19 - 隐患表增加相关方相关字段 is_related/program_id/program_name;hidden/save接口相关增加字段:isRelated/programId/programName

main
tianxinlei 2026-05-19 16:08:22 +08:00
parent 6c22f2718a
commit 018fb1e188
4 changed files with 17 additions and 0 deletions

View File

@ -65,6 +65,10 @@ public class HiddenCO extends ClientObject {
@ApiModelProperty(value = "整改人企业id", name = "rectificationCorpId") @ApiModelProperty(value = "整改人企业id", name = "rectificationCorpId")
private Long rectificationCorpId; private Long rectificationCorpId;
// 相关方相关
private Integer isRelated;
private String programId;
private String programName;
@ApiModelProperty(value = "整改人企业名称", name = "rectificationCorpName") @ApiModelProperty(value = "整改人企业名称", name = "rectificationCorpName")

View File

@ -97,6 +97,10 @@ public class HiddenAddCmd extends Command {
@ApiModelProperty(value = "隐患发现人集合", name = "hiddenFindUserList", required = true) @ApiModelProperty(value = "隐患发现人集合", name = "hiddenFindUserList", required = true)
private List<Long> hiddenFindUserList; private List<Long> hiddenFindUserList;
// 相关方相关
private Integer isRelated;
private String programId;
private String programName;
// 发现人公司id // 发现人公司id
@ApiModelProperty(value = "发现人公司id", name = "findCorpId", required = true) @ApiModelProperty(value = "发现人公司id", name = "findCorpId", required = true)

View File

@ -92,6 +92,11 @@ public class HiddenE extends BaseE {
private List<Long> hiddenFindUserList; private List<Long> hiddenFindUserList;
// 相关方相关
private Integer isRelated;
private String programId;
private String programName;
public void initSaveList(List<HiddenE> hiddenList, public void initSaveList(List<HiddenE> hiddenList,
SafetyEnvironmentalInspectionE inspectionInfo, SafetyEnvironmentalInspectionE inspectionInfo,
SSOUser ssoUser) { SSOUser ssoUser) {

View File

@ -128,6 +128,10 @@ public class HiddenDO extends BaseDO {
@TableField(exist = false) @TableField(exist = false)
private String projectName; private String projectName;
// 相关方相关
private Integer isRelated;
private String programId;
private String programName;
public HiddenDO(String hiddenId) { public HiddenDO(String hiddenId) {
this.hiddenId = hiddenId; this.hiddenId = hiddenId;