瀏覽代碼

debug 是否是 上级条线主管单位 审批

master
PoffyZhang 1 年之前
父節點
當前提交
295c611bd8
共有 3 個文件被更改,包括 4 次插入13 次删除
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/statemachine/action/ProjectDeclareChoiceAction.java
  2. +1
    -12
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java
  3. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/statemachine/action/ProjectDeclareChoiceAction.java 查看文件

@@ -64,6 +64,8 @@ public class ProjectDeclareChoiceAction implements Action<ProjectStatusEnum, Pro
return;
}
});
project.setStage(ProjectStatusEnum.PROJECT_APPROVED.getCode());
project.setStatus(ProjectStatusEnum.TO_BE_PURCHASED.getCode());
}

private void preDeclareChoice(StateContext<ProjectStatusEnum, ProjectStatusChangeEvent> stateContext) {


+ 1
- 12
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java 查看文件

@@ -1180,17 +1180,6 @@ public class ProjectLibManage {
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);
}
}

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/todocenter/manage/TodoCenterManage.java 查看文件

@@ -591,7 +591,7 @@ public class TodoCenterManage {
List<ProgressNode> children = p.getChildren();
ProgressNode progressNode = children.get(0);
String userId = progressNode.getUserId();
if(StringUtils.isNotBlank(userId)){
if(StringUtils.isBlank(userId)){
return;
}
UserFullInfoDTO userFullInfoDTO = userInfoHelper.getUserFullInfoByEmployeeCode(userId);


Loading…
取消
儲存