|
@@ -1,6 +1,7 @@
|
|
package com.nationrel.modules.pdsc.controller;
|
|
package com.nationrel.modules.pdsc.controller;
|
|
|
|
|
|
import com.nationrel.modules.pdsc.entity.ProjectInfo;
|
|
import com.nationrel.modules.pdsc.entity.ProjectInfo;
|
|
|
|
+import com.nationrel.modules.pdsc.enums.ProjectStatuseEnum;
|
|
import com.nationrel.modules.pdsc.req.ProjectInfoActivateReq;
|
|
import com.nationrel.modules.pdsc.req.ProjectInfoActivateReq;
|
|
import com.nationrel.modules.pdsc.req.ProjectInfoListReq;
|
|
import com.nationrel.modules.pdsc.req.ProjectInfoListReq;
|
|
import com.nationrel.modules.pdsc.req.ProjectInfoReleaseReq;
|
|
import com.nationrel.modules.pdsc.req.ProjectInfoReleaseReq;
|
|
@@ -165,6 +166,7 @@ public class ProjectInfoController extends JeecgController<ProjectInfo, IProject
|
|
public Result<String> recovery(@RequestParam(name = "id", required = true) String id) {
|
|
public Result<String> recovery(@RequestParam(name = "id", required = true) String id) {
|
|
ProjectInfo projectInfo = projectInfoService.getById(id);
|
|
ProjectInfo projectInfo = projectInfoService.getById(id);
|
|
projectInfo.setDelFlag(CommonConstant.DEL_FLAG_0);
|
|
projectInfo.setDelFlag(CommonConstant.DEL_FLAG_0);
|
|
|
|
+ projectInfo.setStatus(ProjectStatuseEnum.UNDER_PREPARATION.getType());
|
|
projectInfo.setDeleteTime(null);
|
|
projectInfo.setDeleteTime(null);
|
|
projectInfoService.updateById(projectInfo);
|
|
projectInfoService.updateById(projectInfo);
|
|
return Result.OK(MessageUtils.get("nationrel_recovery_success"));
|
|
return Result.OK(MessageUtils.get("nationrel_recovery_success"));
|