From 6a76e1e6b05cb8cb8dd19299f23d1b825adf4abd Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 18 六月 2024 17:34:09 +0800 Subject: [PATCH] 提交一把 --- server/shop/src/main/java/com/doumee/api/business/UnionApplyController.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/server/shop/src/main/java/com/doumee/api/business/UnionApplyController.java b/server/shop/src/main/java/com/doumee/api/business/UnionApplyController.java index 2ca7485..d9f5a0d 100644 --- a/server/shop/src/main/java/com/doumee/api/business/UnionApplyController.java +++ b/server/shop/src/main/java/com/doumee/api/business/UnionApplyController.java @@ -9,6 +9,7 @@ import com.doumee.dao.business.dto.*; import com.doumee.dao.business.model.InsuranceApply; import com.doumee.dao.business.model.UnionApply; +import com.doumee.service.business.InsuranceApplyService; import com.doumee.service.business.UnionApplyService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -31,6 +32,8 @@ @Autowired private UnionApplyService unionApplyService; + @Autowired + private InsuranceApplyService insuranceApplyService; @PreventRepeat @ApiOperation("鏂板缓") @@ -135,8 +138,17 @@ @RequiresPermissions("business:unionapply:uploadBXD") public ApiResponse uploadBXD(@RequestBody UnionApplyBXDDTO unionApplyBXDDTO) { unionApplyService.uploadBXD(unionApplyBXDDTO); + insuranceApplyService.updateApplyCurrentFee(null,unionApplyBXDDTO.getId()); + unionApplyService.updateUnionApplyCurrentFee(unionApplyBXDDTO.getId()); return ApiResponse.success(null); } + @ApiOperation("娴嬭瘯鍚堝苟鍗曞疄闄呴噾棰�") + @GetMapping("/testFee") + public ApiResponse testFee(Integer id) { + unionApplyService.updateUnionApplyCurrentFee(id); + return ApiResponse.success(null); + } + } -- Gitblit v1.9.3