修改了导入遥感项目和视觉项目的接口

This commit is contained in:
DESKTOP-G8BCEP0\HP 2021-08-24 15:32:57 +08:00
parent 4c66984ffd
commit 9e35bd6aa3
2 changed files with 20 additions and 2 deletions

View File

@ -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 + '\'' +
'}';
}
}

View File

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