From 9e35bd6aa37a6b5b222124faac4ea20753b940c9 Mon Sep 17 00:00:00 2001 From: "DESKTOP-G8BCEP0\\HP" <2037158277@qq.com> Date: Tue, 24 Aug 2021 15:32:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E9=81=A5=E6=84=9F=E9=A1=B9=E7=9B=AE=E5=92=8C=E8=A7=86=E8=A7=89?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../xkrs/model/entity/ProjectOverview.java | 20 +++++++++++++++++-- .../impl/ProjectOverviewServiceImpl.java | 2 ++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xkrs/model/entity/ProjectOverview.java b/src/main/java/com/xkrs/model/entity/ProjectOverview.java index 9de9613..5ba58b5 100644 --- a/src/main/java/com/xkrs/model/entity/ProjectOverview.java +++ b/src/main/java/com/xkrs/model/entity/ProjectOverview.java @@ -66,15 +66,21 @@ public class ProjectOverview implements Serializable { private String projectManager; /** - * 项目填报状态 0 未开始 1 填报中 2已结束 3正在审核 + * 项目填报状态 0 未开始 1 填报中 */ @Column(length = 32,columnDefinition = "varchar(32)") private String projectStatus; + /** + * 授权状态值 0未授权给任何人 1已授权给他人 + */ + @Column(length = 32,columnDefinition = "varchar(32)") + private String authorizationType; + public ProjectOverview() { } - public ProjectOverview(Integer id, String projectNumber, String projectName, String projectType, String projectStage, String party, String projectMarket, String projectSale, String projectManager, String projectStatus) { + public ProjectOverview(Integer id, String projectNumber, String projectName, String projectType, String projectStage, String party, String projectMarket, String projectSale, String projectManager, String projectStatus, String authorizationType) { this.id = id; this.projectNumber = projectNumber; this.projectName = projectName; @@ -85,6 +91,7 @@ public class ProjectOverview implements Serializable { this.projectSale = projectSale; this.projectManager = projectManager; this.projectStatus = projectStatus; + this.authorizationType = authorizationType; } public Integer getId() { @@ -167,6 +174,14 @@ public class ProjectOverview implements Serializable { this.projectStatus = projectStatus; } + public String getAuthorizationType() { + return authorizationType; + } + + public void setAuthorizationType(String authorizationType) { + this.authorizationType = authorizationType; + } + @Override public String toString() { return "ProjectOverview{" + @@ -180,6 +195,7 @@ public class ProjectOverview 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 3730098..0005e0f 100644 --- a/src/main/java/com/xkrs/service/impl/ProjectOverviewServiceImpl.java +++ b/src/main/java/com/xkrs/service/impl/ProjectOverviewServiceImpl.java @@ -53,6 +53,7 @@ public class ProjectOverviewServiceImpl implements ProjectOverviewService { projectOverview.setProjectSale(map.get("售前")); projectOverview.setProjectManager(map.get("项目经理")); projectOverview.setProjectStatus("0"); + projectOverview.setAuthorizationType("0"); return projectOverview; }).collect(Collectors.toList()); //批量添加到订单详情 @@ -83,6 +84,7 @@ public class ProjectOverviewServiceImpl implements ProjectOverviewService { projectOverview.setProjectSale(map.get("售前")); projectOverview.setProjectManager(map.get("项目经理")); projectOverview.setProjectStatus("0"); + projectOverview.setAuthorizationType("0"); return projectOverview; }).collect(Collectors.toList()); //批量添加到订单详情