|
@@ -14,6 +14,7 @@ import javax.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
|
import com.ningdatech.pmapi.projectdeclared.manage.DeclaredProjectManage; |
|
|
import com.ningdatech.pmapi.projectdeclared.manage.DeclaredProjectManage; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectDraftSaveDTO; |
|
|
import com.ningdatech.pmapi.projectdeclared.model.dto.ProjectDraftSaveDTO; |
|
|
|
|
|
import com.ningdatech.pmapi.todocenter.constant.WorkNotice; |
|
|
import com.ningdatech.pmapi.user.security.auth.model.UserInfoDetails; |
|
|
import com.ningdatech.pmapi.user.security.auth.model.UserInfoDetails; |
|
|
import com.wflow.workflow.enums.ProcessStatusEnum; |
|
|
import com.wflow.workflow.enums.ProcessStatusEnum; |
|
|
import org.apache.commons.io.FileUtils; |
|
|
import org.apache.commons.io.FileUtils; |
|
@@ -446,6 +447,8 @@ public class TodoCenterManage { |
|
|
ProjectDraftSaveDTO draftSaveDto = new ProjectDraftSaveDTO(); |
|
|
ProjectDraftSaveDTO draftSaveDto = new ProjectDraftSaveDTO(); |
|
|
BeanUtils.copyProperties(declaredProject,draftSaveDto); |
|
|
BeanUtils.copyProperties(declaredProject,draftSaveDto); |
|
|
declaredProjectManage.saveToDraft(draftSaveDto); |
|
|
declaredProjectManage.saveToDraft(draftSaveDto); |
|
|
|
|
|
// 并删除项目库中该项目信息 |
|
|
|
|
|
projectService.removeById(declaredProject); |
|
|
break; |
|
|
break; |
|
|
// 当前项目状态是预审中 |
|
|
// 当前项目状态是预审中 |
|
|
case PRE_APPLYING: |
|
|
case PRE_APPLYING: |
|
@@ -607,7 +610,7 @@ public class TodoCenterManage { |
|
|
*/ |
|
|
*/ |
|
|
private void assemblyAuditNotify(Long userId, Project project, String msg) { |
|
|
private void assemblyAuditNotify(Long userId, Project project, String msg) { |
|
|
Notify notify = new Notify(); |
|
|
Notify notify = new Notify(); |
|
|
notify.setTitle(msg); |
|
|
|
|
|
|
|
|
notify.setTitle(AUDIT_WORK_TITLE); |
|
|
notify.setUserId(userId); |
|
|
notify.setUserId(userId); |
|
|
notify.setType(MsgTypeEnum.PROJECT_REVIEW.name()); |
|
|
notify.setType(MsgTypeEnum.PROJECT_REVIEW.name()); |
|
|
notify.setInstanceId(project.getInstCode()); |
|
|
notify.setInstanceId(project.getInstCode()); |
|
|