From a1b85ef72062ca80db35546e4216dd564f3e0f57 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期四, 03 四月 2025 15:58:19 +0800 Subject: [PATCH] 问题与漏洞修改 --- consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped.java | 74 ++++++++++++++++++++++++------------- 1 files changed, 48 insertions(+), 26 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped.java b/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped.java index 55e6a4b..3b24263 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped.java @@ -60,13 +60,13 @@ @JsonIgnore protected boolean isset_dealTime = false; - private String departmentId = null; - @JsonIgnore - protected boolean isset_departmentId = false; - - private Long departmentName = null; + private String departmentName = null; @JsonIgnore protected boolean isset_departmentName = false; + + private Long departmentId = null; + @JsonIgnore + protected boolean isset_departmentId = false; private String uploadFiles = null; @JsonIgnore @@ -75,6 +75,10 @@ private Integer states = null; @JsonIgnore protected boolean isset_states = false; + + private Long createTime = null; + @JsonIgnore + protected boolean isset_createTime = false; /** * 榛樿鏋勯�犲嚱鏁� @@ -251,32 +255,32 @@ return this.dealTime == null; } - public String getDepartmentId() { - return this.departmentId; - } - - public void setDepartmentId(String departmentId) { - this.departmentId = departmentId; - this.isset_departmentId = true; - } - - @JsonIgnore - public boolean isEmptyDepartmentId() { - return this.departmentId == null || this.departmentId.length() == 0; - } - - public Long getDepartmentName() { + public String getDepartmentName() { return this.departmentName; } - public void setDepartmentName(Long departmentName) { + public void setDepartmentName(String departmentName) { this.departmentName = departmentName; this.isset_departmentName = true; } @JsonIgnore public boolean isEmptyDepartmentName() { - return this.departmentName == null; + return this.departmentName == null || this.departmentName.length() == 0; + } + + public Long getDepartmentId() { + return this.departmentId; + } + + public void setDepartmentId(Long departmentId) { + this.departmentId = departmentId; + this.isset_departmentId = true; + } + + @JsonIgnore + public boolean isEmptyDepartmentId() { + return this.departmentId == null; } public String getUploadFiles() { @@ -307,6 +311,20 @@ return this.states == null; } + public Long getCreateTime() { + return this.createTime; + } + + public void setCreateTime(Long createTime) { + this.createTime = createTime; + this.isset_createTime = true; + } + + @JsonIgnore + public boolean isEmptyCreateTime() { + return this.createTime == null; + } + /** * 閲嶅啓 toString() 鏂规硶 */ @@ -324,10 +342,11 @@ .append("operatorId=").append(this.operatorId) .append("operatorName=").append(this.operatorName) .append("dealTime=").append(this.dealTime) - .append("departmentId=").append(this.departmentId) .append("departmentName=").append(this.departmentName) + .append("departmentId=").append(this.departmentId) .append("uploadFiles=").append(this.uploadFiles) .append("states=").append(this.states) + .append("createTime=").append(this.createTime) .toString(); } @@ -375,11 +394,11 @@ if (this.isset_dealTime) { l_wh_form_scrapped.setDealTime(this.getDealTime()); } - if (this.isset_departmentId) { - l_wh_form_scrapped.setDepartmentId(this.getDepartmentId()); - } if (this.isset_departmentName) { l_wh_form_scrapped.setDepartmentName(this.getDepartmentName()); + } + if (this.isset_departmentId) { + l_wh_form_scrapped.setDepartmentId(this.getDepartmentId()); } if (this.isset_uploadFiles) { l_wh_form_scrapped.setUploadFiles(this.getUploadFiles()); @@ -387,6 +406,9 @@ if (this.isset_states) { l_wh_form_scrapped.setStates(this.getStates()); } + if (this.isset_createTime) { + l_wh_form_scrapped.setCreateTime(this.getCreateTime()); + } return l_wh_form_scrapped; } } -- Gitblit v1.9.1