From ee99290acc01bf294b44f39194f93762d7a3de2d Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 28 二月 2024 18:50:16 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java index 1ba54fa..bf99142 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementController.java @@ -13,6 +13,7 @@ import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.common.enums.BusinessType; import com.ruoyi.common.exception.ServiceException; +import com.ruoyi.common.utils.MergeFilesToPDFUtils; import com.ruoyi.common.utils.SecurityUtils; import com.ruoyi.common.utils.bean.DtoConversionUtils; import com.ruoyi.common.utils.poi.ExcelUtil; @@ -58,6 +59,9 @@ public class ServiceReimbursementController extends BaseController { @Autowired private IServiceReimbursementService serviceReimbursementService; + +// @Autowired +// private MergeFilesToPDFUtils mergeFilesToPDFUtils; @Autowired private IServiceReimbursementSharedService serviceReimbursementSharedService; @@ -236,6 +240,17 @@ return error(); } +// /** +// * 宸梾璐逛笂鎶� +// */ +// @ApiOperation("宸梾璐逛笂鎶�") +// @Log(title = "宸梾璐逛笂鎶�", businessType = BusinessType.OTHER) +// @PostMapping("/test") +// public AjaxResult test(@RequestBody CheckFundVO checkFundVO) { +// mergeFilesToPDFUtils.generatePdf(checkFundVO.getFileNames(), checkFundVO.getOutputFile()); +// return AjaxResult.success(200); +// } + /** * 宸梾璐逛笂鎶� @@ -255,6 +270,7 @@ ServiceFundflowrule serviceFundflowrule = new ServiceFundflowrule(); serviceFundflowrule.setApplytype("0"); serviceFundflowrule.setMustAudite(1); + serviceFundflowrule.setDel_flag(0); List<ServiceFundflowrule> serviceFundflowrules = serviceFundflowruleService.queryList(serviceFundflowrule); log.info("reimbursement蹇呭浜虹殑绛夌骇涓猴細{}", serviceFundflowrules.get(0).getFlowlevel()); @@ -465,6 +481,7 @@ //001瀹℃壒閫氳繃涔嬪悗锛屽氨闇�瑕佹妸鈥滃姙鍏涓讳换鈥濈殑鍚嶅瓧濉笂 if (checkFundVO.getFlowconclusion() == 1 && user.getUserName().equals("001")) { serviceReimbursement.setOfficedirector(user.getNickName()); + serviceReimbursement.setUploadStates(0); } serviceReimbursementService.updateById(serviceReimbursement); -- Gitblit v1.9.3