Commit 1c61b2bc authored by wei's avatar wei 🎱

生成移交单附件PDF

parent 22bda02a
......@@ -309,5 +309,9 @@ public class ExtAutoTaskController {
autoTaskService.autoSetTzri(interfaceVO);
}
@ApiOperation(value = "生成移交单附件PDF", notes = "生成移交单附件PDF", httpMethod = "POST")
@PostMapping(value = "/generateTransferDocumentWordSign")
public void generateTransferDocumentWordSign(@RequestBody ExtTransferDocumentVO extTransferDocumentVO) {
autoTaskService.generateTransferDocumentWordSign(extTransferDocumentVO);
}
}
......@@ -3,6 +3,7 @@ package com.inet.dcs.document.core.controller;
import com.inet.dcs.document.common.vo.ExtTransferDocumentVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO;
import com.inet.dcs.document.core.controller.shadow.ExtTransferDocumentControllerShadow;
import com.inet.dcs.document.core.service.ExtAutoTaskService;
import com.inet.dcs.document.core.service.ExtTransferDocumentService;
import com.yonde.dex.basedata.data.search.SearchQueryCondition;
import com.yonde.dex.basedata.entity.api.ApiResult;
......@@ -29,6 +30,9 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex
@Autowired
private ExtTransferDocumentService extTransferDocumentService;
@Autowired
private ExtAutoTaskService autoTaskService;
@ApiOperation("发起审批流程")
@PostMapping({"startWorkflow"})
public ApiResult startWorkflow(@RequestParam("id") Long id) {
......@@ -67,6 +71,13 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex
extTransferDocumentService.returnDocumentByDocId(docId);
return ApiResult.ok(ApiResult.SUCCESS, "退档成功");
}
@ApiOperation(value = "生成移交单附件", notes = "生成移交单附件")
@PostMapping(value = "/generateTransferDocumentWordSign")
public ApiResult generateTransferDocumentWordSign(@RequestBody ExtTransferDocumentVO extTransferDocumentVO) {
autoTaskService.generateTransferDocumentWordSign(extTransferDocumentVO);
return ApiResult.ok(ApiResult.SUCCESS, "生成移交单附件成功");
}
}
......@@ -235,4 +235,6 @@ public interface ExtAutoTaskService extends ExtAutoTaskServiceFeign {
* @param feedbackVO
*/
void setDesignMinutesReviewState(ExtReviewFeedbackVO feedbackVO);
void generateTransferDocumentWordSign(ExtTransferDocumentVO extTransferDocumentVO);
}
......@@ -273,6 +273,11 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
}
}
@Override
public void generateTransferDocumentWordSign(ExtTransferDocumentVO extTransferDocumentVO) {
}
@SneakyThrows
@Override
@Transactional(rollbackFor = Exception.class)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment