From 01107e8aadfaf1e84a971d8eeb9ab37e1c5569f3 Mon Sep 17 00:00:00 2001 From: cy <1664593601@qq.com> Date: 星期五, 01 十二月 2023 09:38:56 +0800 Subject: [PATCH] feat: 部门退回/报废公用接口 --- consum-model-pojo/src/main/java/com/consum/model/po/LWhFormScrapped.java | 96 ++++++++++++++++++++++++------------------------ 1 files changed, 48 insertions(+), 48 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 eb4ffd8..61d1c0a 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 @@ -28,6 +28,10 @@ @JsonIgnore protected boolean isset_businessFormCode = false; + private Integer warehouseType = null; + @JsonIgnore + protected boolean isset_warehouseType = false; + private Long warehouseId = null; @JsonIgnore protected boolean isset_warehouseId = false; @@ -35,10 +39,6 @@ private String warehouseName = null; @JsonIgnore protected boolean isset_warehouseName = false; - - private Integer scrappedType = null; - @JsonIgnore - protected boolean isset_scrappedType = false; private Long agencyId = null; @JsonIgnore @@ -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 @@ -139,6 +139,20 @@ return this.businessFormCode == null || this.businessFormCode.length() == 0; } + public Integer getWarehouseType() { + return this.warehouseType; + } + + public void setWarehouseType(Integer warehouseType) { + this.warehouseType = warehouseType; + this.isset_warehouseType = true; + } + + @JsonIgnore + public boolean isEmptyWarehouseType() { + return this.warehouseType == null; + } + public Long getWarehouseId() { return this.warehouseId; } @@ -165,20 +179,6 @@ @JsonIgnore public boolean isEmptyWarehouseName() { return this.warehouseName == null || this.warehouseName.length() == 0; - } - - public Integer getScrappedType() { - return this.scrappedType; - } - - public void setScrappedType(Integer scrappedType) { - this.scrappedType = scrappedType; - this.isset_scrappedType = true; - } - - @JsonIgnore - public boolean isEmptyScrappedType() { - return this.scrappedType == null; } public Long getAgencyId() { @@ -251,32 +251,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() { @@ -316,16 +316,16 @@ .append("id=").append(this.id) .append("lWarehouseFlowId=").append(this.lWarehouseFlowId) .append("businessFormCode=").append(this.businessFormCode) + .append("warehouseType=").append(this.warehouseType) .append("warehouseId=").append(this.warehouseId) .append("warehouseName=").append(this.warehouseName) - .append("scrappedType=").append(this.scrappedType) .append("agencyId=").append(this.agencyId) .append("agencyName=").append(this.agencyName) .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) .toString(); @@ -351,14 +351,14 @@ if (this.isset_businessFormCode) { l_wh_form_scrapped.setBusinessFormCode(this.getBusinessFormCode()); } + if (this.isset_warehouseType) { + l_wh_form_scrapped.setWarehouseType(this.getWarehouseType()); + } if (this.isset_warehouseId) { l_wh_form_scrapped.setWarehouseId(this.getWarehouseId()); } if (this.isset_warehouseName) { l_wh_form_scrapped.setWarehouseName(this.getWarehouseName()); - } - if (this.isset_scrappedType) { - l_wh_form_scrapped.setScrappedType(this.getScrappedType()); } if (this.isset_agencyId) { l_wh_form_scrapped.setAgencyId(this.getAgencyId()); @@ -375,12 +375,12 @@ 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()); } -- Gitblit v1.9.1