修改了新增项目和修改项目的接口
This commit is contained in:
parent
13346c621f
commit
8ff1d7b174
@ -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 + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user