feat: 封存草稿回显接口
This commit is contained in:
-1
@@ -352,7 +352,6 @@ public class ActFlowCommonService {
|
||||
draftWrapper.eq(ProcessDraft::getPrcType, processTypeEnum.getValue());
|
||||
draftWrapper.eq(ProcessDraft::getUserId, userId);
|
||||
draftWrapper.eq(ProcessDraft::getId, draftId);
|
||||
draftWrapper.eq(ProcessDraft::getProjectId, businessId);
|
||||
return processDraftService.getOne(draftWrapper);
|
||||
}
|
||||
|
||||
|
||||
+7
-3
@@ -3,6 +3,8 @@ package com.jero.modules.activiti.process.esArchive.controller;
|
||||
import com.jero.common.api.vo.Result;
|
||||
import com.jero.common.aspect.annotation.AutoLog;
|
||||
import com.jero.common.aspect.annotation.Translation;
|
||||
import com.jero.modules.activiti.enums.ProcessTypeEnum;
|
||||
import com.jero.modules.activiti.process.common.entity.ProcessDraft;
|
||||
import com.jero.modules.activiti.process.common.entity.TransferVO;
|
||||
import com.jero.modules.activiti.process.common.service.ActFlowCommonService;
|
||||
import com.jero.modules.activiti.process.esAbolish.entity.vo.ESAbolishDataVO;
|
||||
@@ -36,6 +38,9 @@ public class ESArchiveController {
|
||||
@Resource
|
||||
private IProcessHandleService processHandleService;
|
||||
|
||||
@Resource
|
||||
private ActFlowCommonService actFlowCommonService;
|
||||
|
||||
/**
|
||||
* 新增企标封存申请
|
||||
*
|
||||
@@ -82,9 +87,8 @@ public class ESArchiveController {
|
||||
@ApiOperation(value="企标封存流程-草稿办理", notes="企标封存流程-草稿办理")
|
||||
@GetMapping("/draftHandle")
|
||||
@Translation
|
||||
public Result<?> draftHandle(@RequestParam("draftId") @ApiParam("草稿Id") String draftId,
|
||||
@RequestParam("projectId") @ApiParam("业务数据Id") String projectId) {
|
||||
return Result.OK(archiveService.getDraftData(draftId, projectId));
|
||||
public Result<?> draftHandle(@RequestParam("draftId") @ApiParam("草稿Id") String draftId) {
|
||||
return Result.OK(actFlowCommonService.getExistDraft(draftId, null, ProcessTypeEnum.ES_ARCHIVE));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user