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()); //批量添加到订单详情