From 53813b862f027c97c967415bb7773ffbf6b6ea3d Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期五, 01 十二月 2023 14:51:49 +0800 Subject: [PATCH] feat: 部门报废 --- consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrapped.java | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 52 insertions(+), 8 deletions(-) diff --git a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrapped.java b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrapped.java index 370cfd9..e052691 100644 --- a/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrapped.java +++ b/consum-model-pojo/src/main/java/com/consum/model/po/DepFormScrapped.java @@ -53,11 +53,19 @@ @JsonIgnore protected boolean isset_dealTime = false; - private String departmentId = null; + private Long agencyId = null; + @JsonIgnore + protected boolean isset_agencyId = false; + + private String agencyName = null; + @JsonIgnore + protected boolean isset_agencyName = false; + + private Long departmentId = null; @JsonIgnore protected boolean isset_departmentId = false; - private Long departmentName = null; + private String departmentName = null; @JsonIgnore protected boolean isset_departmentName = false; @@ -220,32 +228,60 @@ return this.dealTime == null; } - public String getDepartmentId() { + public Long getAgencyId() { + return this.agencyId; + } + + public void setAgencyId(Long agencyId) { + this.agencyId = agencyId; + this.isset_agencyId = true; + } + + @JsonIgnore + public boolean isEmptyAgencyId() { + return this.agencyId == null; + } + + public String getAgencyName() { + return this.agencyName; + } + + public void setAgencyName(String agencyName) { + this.agencyName = agencyName; + this.isset_agencyName = true; + } + + @JsonIgnore + public boolean isEmptyAgencyName() { + return this.agencyName == null || this.agencyName.length() == 0; + } + + public Long getDepartmentId() { return this.departmentId; } - public void setDepartmentId(String departmentId) { + public void setDepartmentId(Long departmentId) { this.departmentId = departmentId; this.isset_departmentId = true; } @JsonIgnore public boolean isEmptyDepartmentId() { - return this.departmentId == null || this.departmentId.length() == 0; + return this.departmentId == null; } - 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 getCreateTime() { @@ -305,6 +341,8 @@ .append("operatorId=").append(this.operatorId) .append("operatorName=").append(this.operatorName) .append("dealTime=").append(this.dealTime) + .append("agencyId=").append(this.agencyId) + .append("agencyName=").append(this.agencyName) .append("departmentId=").append(this.departmentId) .append("departmentName=").append(this.departmentName) .append("createTime=").append(this.createTime) @@ -351,6 +389,12 @@ if (this.isset_dealTime) { dep_form_scrapped.setDealTime(this.getDealTime()); } + if (this.isset_agencyId) { +dep_form_scrapped.setAgencyId(this.getAgencyId()); + } + if (this.isset_agencyName) { +dep_form_scrapped.setAgencyName(this.getAgencyName()); + } if (this.isset_departmentId) { dep_form_scrapped.setDepartmentId(this.getDepartmentId()); } -- Gitblit v1.9.1