修改了新增项目和修改项目的接口
This commit is contained in:
parent
13346c621f
commit
8ff1d7b174
@ -54,10 +54,15 @@ public class ProjectUpdateQo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private String projectStatus;
|
private String projectStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 授权状态
|
||||||
|
*/
|
||||||
|
private String authorizationType;
|
||||||
|
|
||||||
public ProjectUpdateQo() {
|
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.id = id;
|
||||||
this.projectNumber = projectNumber;
|
this.projectNumber = projectNumber;
|
||||||
this.projectName = projectName;
|
this.projectName = projectName;
|
||||||
@ -68,6 +73,7 @@ public class ProjectUpdateQo implements Serializable {
|
|||||||
this.projectSale = projectSale;
|
this.projectSale = projectSale;
|
||||||
this.projectManager = projectManager;
|
this.projectManager = projectManager;
|
||||||
this.projectStatus = projectStatus;
|
this.projectStatus = projectStatus;
|
||||||
|
this.authorizationType = authorizationType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getId() {
|
public Integer getId() {
|
||||||
@ -150,6 +156,14 @@ public class ProjectUpdateQo implements Serializable {
|
|||||||
this.projectStatus = projectStatus;
|
this.projectStatus = projectStatus;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getAuthorizationType() {
|
||||||
|
return authorizationType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAuthorizationType(String authorizationType) {
|
||||||
|
this.authorizationType = authorizationType;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "ProjectUpdateQo{" +
|
return "ProjectUpdateQo{" +
|
||||||
@ -163,6 +177,7 @@ public class ProjectUpdateQo implements Serializable {
|
|||||||
", projectSale='" + projectSale + '\'' +
|
", projectSale='" + projectSale + '\'' +
|
||||||
", projectManager='" + projectManager + '\'' +
|
", projectManager='" + projectManager + '\'' +
|
||||||
", projectStatus='" + projectStatus + '\'' +
|
", projectStatus='" + projectStatus + '\'' +
|
||||||
|
", authorizationType='" + authorizationType + '\'' +
|
||||||
'}';
|
'}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -124,6 +124,7 @@ public class ProjectOverviewServiceImpl implements ProjectOverviewService {
|
|||||||
return projectOverviewDao.save(projectOverview);
|
return projectOverviewDao.save(projectOverview);
|
||||||
}
|
}
|
||||||
projectOverview.setProjectStatus("0");
|
projectOverview.setProjectStatus("0");
|
||||||
|
projectOverview.setAuthorizationType("0");
|
||||||
return projectOverviewDao.save(projectOverview);
|
return projectOverviewDao.save(projectOverview);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -144,6 +145,7 @@ public class ProjectOverviewServiceImpl implements ProjectOverviewService {
|
|||||||
projectOverview.setProjectSale(projectUpdateQo.getProjectSale());
|
projectOverview.setProjectSale(projectUpdateQo.getProjectSale());
|
||||||
projectOverview.setProjectManager(projectUpdateQo.getProjectManager());
|
projectOverview.setProjectManager(projectUpdateQo.getProjectManager());
|
||||||
projectOverview.setProjectStatus(projectUpdateQo.getProjectStatus());
|
projectOverview.setProjectStatus(projectUpdateQo.getProjectStatus());
|
||||||
|
projectOverview.setAuthorizationType(projectUpdateQo.getAuthorizationType());
|
||||||
projectOverviewDao.save(projectOverview);
|
projectOverviewDao.save(projectOverview);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user