Commit 1c61b2bc authored by wei's avatar wei 🎱

生成移交单附件PDF

parent 22bda02a
...@@ -309,5 +309,9 @@ public class ExtAutoTaskController { ...@@ -309,5 +309,9 @@ public class ExtAutoTaskController {
autoTaskService.autoSetTzri(interfaceVO); 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; ...@@ -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.ExtTransferDocumentVO;
import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO; import com.inet.dcs.document.common.vo.archivesOtherVO.ExtFilesUpdateVO;
import com.inet.dcs.document.core.controller.shadow.ExtTransferDocumentControllerShadow; 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.inet.dcs.document.core.service.ExtTransferDocumentService;
import com.yonde.dex.basedata.data.search.SearchQueryCondition; import com.yonde.dex.basedata.data.search.SearchQueryCondition;
import com.yonde.dex.basedata.entity.api.ApiResult; import com.yonde.dex.basedata.entity.api.ApiResult;
...@@ -29,6 +30,9 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex ...@@ -29,6 +30,9 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex
@Autowired @Autowired
private ExtTransferDocumentService extTransferDocumentService; private ExtTransferDocumentService extTransferDocumentService;
@Autowired
private ExtAutoTaskService autoTaskService;
@ApiOperation("发起审批流程") @ApiOperation("发起审批流程")
@PostMapping({"startWorkflow"}) @PostMapping({"startWorkflow"})
public ApiResult startWorkflow(@RequestParam("id") Long id) { public ApiResult startWorkflow(@RequestParam("id") Long id) {
...@@ -67,6 +71,13 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex ...@@ -67,6 +71,13 @@ public class ExtTransferDocumentController<V extends ExtTransferDocumentVO, S ex
extTransferDocumentService.returnDocumentByDocId(docId); extTransferDocumentService.returnDocumentByDocId(docId);
return ApiResult.ok(ApiResult.SUCCESS, "退档成功"); 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 { ...@@ -235,4 +235,6 @@ public interface ExtAutoTaskService extends ExtAutoTaskServiceFeign {
* @param feedbackVO * @param feedbackVO
*/ */
void setDesignMinutesReviewState(ExtReviewFeedbackVO feedbackVO); void setDesignMinutesReviewState(ExtReviewFeedbackVO feedbackVO);
void generateTransferDocumentWordSign(ExtTransferDocumentVO extTransferDocumentVO);
} }
...@@ -273,6 +273,11 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService { ...@@ -273,6 +273,11 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
} }
} }
@Override
public void generateTransferDocumentWordSign(ExtTransferDocumentVO extTransferDocumentVO) {
}
@SneakyThrows @SneakyThrows
@Override @Override
@Transactional(rollbackFor = Exception.class) @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