Commit 019b55ed authored by yaobaizheng's avatar yaobaizheng

合伙招商后台

parent 82951a5f
......@@ -133,10 +133,7 @@ public class PartnerProjectInfoServiceImpl implements IPartnerProjectInfoService
//更新项目的信息
PartnerProjectInfo partnerProjectInfoUp = new PartnerProjectInfo();
partnerProjectInfoUp.setId(changeStatusVO.getProjectId());
// if(){
// partnerProjectInfoUp.setTodoStatus(PartnerProjectToDoEnum.TODOSTATUS_1.getCode());
// partnerProjectInfoUp.setTodoStatusDescription(PartnerProjectToDoEnum.TODOSTATUS_1.getMessage());
// }
int nextCodeByCode = PartnerProjectExamineEnum.getNextCodeByCode(changeStatusVO.getStatus());
String message = PartnerProjectExamineEnum.getValueByCode(nextCodeByCode);
if(nextCodeByCode == 9){
......@@ -165,7 +162,12 @@ public class PartnerProjectInfoServiceImpl implements IPartnerProjectInfoService
partnerProjectInfoUp.setStatus(PartnerProjectExamineEnum.PROJECTSTATUS2.getCode());
partnerProjectInfoUp.setStatusDescription(PartnerProjectExamineEnum.getValueByCode(PartnerProjectExamineEnum.PROJECTSTATUS2.getCode()));
}
if(changeStatusVO.getRepeateType() == PartnerProjectStatusEnum.PROJECT_NO_REPRATE.getCode()){
partnerProjectInfoUp.setTodoStatus(PartnerProjectToDoEnum.TODOSTATUS_1.getCode());
partnerProjectInfoUp.setTodoStatusDescription(PartnerProjectToDoEnum.TODOSTATUS_1.getMessage());
}
}
if(changeStatusVO.getStatus() == PartnerProjectExamineEnum.PROJECTSTATUS4.getCode()){
partnerProjectInfoUp.setTodoStatus(PartnerProjectToDoEnum.TODOSTATUS1.getCode());
partnerProjectInfoUp.setTodoStatusDescription(PartnerProjectToDoEnum.getValueByCode(PartnerProjectToDoEnum.TODOSTATUS1.getCode()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment