@@ -64,6 +64,8 @@ public class ProjectDeclareChoiceAction implements Action<ProjectStatusEnum, Pro | |||||
return; | return; | ||||
} | } | ||||
}); | }); | ||||
project.setStage(ProjectStatusEnum.PROJECT_APPROVED.getCode()); | |||||
project.setStatus(ProjectStatusEnum.TO_BE_PURCHASED.getCode()); | |||||
} | } | ||||
private void preDeclareChoice(StateContext<ProjectStatusEnum, ProjectStatusChangeEvent> stateContext) { | private void preDeclareChoice(StateContext<ProjectStatusEnum, ProjectStatusChangeEvent> stateContext) { | ||||
@@ -1180,17 +1180,6 @@ public class ProjectLibManage { | |||||
return res; | return res; | ||||
} | } | ||||
return checkTwoProjectChanges(res,twoVersions); | |||||
} | |||||
/** | |||||
* 列出 2个版本项目的 不同字段 | |||||
* @param res | |||||
* @param twoVersions | |||||
* @return | |||||
*/ | |||||
private JSONObject checkTwoProjectChanges(JSONObject res, List<Project> twoVersions) { | |||||
res = new CompareUtils<Project>().compareToJson(twoVersions.get(0), twoVersions.get(1),null); | |||||
return res; | |||||
return new CompareUtils<Project>().compareToJson(twoVersions.get(0), twoVersions.get(1),null); | |||||
} | } | ||||
} | } |
@@ -591,7 +591,7 @@ public class TodoCenterManage { | |||||
List<ProgressNode> children = p.getChildren(); | List<ProgressNode> children = p.getChildren(); | ||||
ProgressNode progressNode = children.get(0); | ProgressNode progressNode = children.get(0); | ||||
String userId = progressNode.getUserId(); | String userId = progressNode.getUserId(); | ||||
if(StringUtils.isNotBlank(userId)){ | |||||
if(StringUtils.isBlank(userId)){ | |||||
return; | return; | ||||
} | } | ||||
UserFullInfoDTO userFullInfoDTO = userInfoHelper.getUserFullInfoByEmployeeCode(userId); | UserFullInfoDTO userFullInfoDTO = userInfoHelper.getUserFullInfoByEmployeeCode(userId); | ||||