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); }