From 8ff1d7b174482aa96c7f12c5927b29e52b60ff01 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G8BCEP0\\HP" <2037158277@qq.com> Date: Tue, 24 Aug 2021 15:39:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=92=8C=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xkrs/model/qo/ProjectUpdateQo.java | 17 ++++++++++++++++- .../impl/ProjectOverviewServiceImpl.java | 2 ++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/xkrs/model/qo/ProjectUpdateQo.java b/src/main/java/com/xkrs/model/qo/ProjectUpdateQo.java index 12a7337..6ea4995 100644 --- a/src/main/java/com/xkrs/model/qo/ProjectUpdateQo.java +++ b/src/main/java/com/xkrs/model/qo/ProjectUpdateQo.java @@ -54,10 +54,15 @@ public class ProjectUpdateQo implements Serializable { */ private String projectStatus; + /** + * ζŽˆζƒηŠΆζ€ + */ + private String authorizationType; + public ProjectUpdateQo() { } - public ProjectUpdateQo(Integer id, String projectNumber, String projectName, String party, String projectType, String projectStage, String projectMarket, String projectSale, String projectManager, String projectStatus) { + public ProjectUpdateQo(Integer id, String projectNumber, String projectName, String party, String projectType, String projectStage, String projectMarket, String projectSale, String projectManager, String projectStatus, String authorizationType) { this.id = id; this.projectNumber = projectNumber; this.projectName = projectName; @@ -68,6 +73,7 @@ public class ProjectUpdateQo implements Serializable { this.projectSale = projectSale; this.projectManager = projectManager; this.projectStatus = projectStatus; + this.authorizationType = authorizationType; } public Integer getId() { @@ -150,6 +156,14 @@ public class ProjectUpdateQo implements Serializable { this.projectStatus = projectStatus; } + public String getAuthorizationType() { + return authorizationType; + } + + public void setAuthorizationType(String authorizationType) { + this.authorizationType = authorizationType; + } + @Override public String toString() { return "ProjectUpdateQo{" + @@ -163,6 +177,7 @@ public class ProjectUpdateQo implements Serializable { ", projectSale='" + projectSale + '\'' + ", projectManager='" + projectManager + '\'' + ", projectStatus='" + projectStatus + '\'' + + ", authorizationType='" + authorizationType + '\'' + '}'; } } diff --git a/src/main/java/com/xkrs/service/impl/ProjectOverviewServiceImpl.java b/src/main/java/com/xkrs/service/impl/ProjectOverviewServiceImpl.java index 0005e0f..aaf9783 100644 --- a/src/main/java/com/xkrs/service/impl/ProjectOverviewServiceImpl.java +++ b/src/main/java/com/xkrs/service/impl/ProjectOverviewServiceImpl.java @@ -124,6 +124,7 @@ public class ProjectOverviewServiceImpl implements ProjectOverviewService { return projectOverviewDao.save(projectOverview); } projectOverview.setProjectStatus("0"); + projectOverview.setAuthorizationType("0"); return projectOverviewDao.save(projectOverview); } @@ -144,6 +145,7 @@ public class ProjectOverviewServiceImpl implements ProjectOverviewService { projectOverview.setProjectSale(projectUpdateQo.getProjectSale()); projectOverview.setProjectManager(projectUpdateQo.getProjectManager()); projectOverview.setProjectStatus(projectUpdateQo.getProjectStatus()); + projectOverview.setAuthorizationType(projectUpdateQo.getAuthorizationType()); projectOverviewDao.save(projectOverview); }