From 4001e7479d33cd3fa5a8e00d07ae191ee95c5793 Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 03 四月 2024 19:02:07 +0800 Subject: [PATCH] git ch --- server/shop/src/main/java/com/doumee/api/business/ApplyChangeController.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/server/shop/src/main/java/com/doumee/api/business/ApplyChangeController.java b/server/shop/src/main/java/com/doumee/api/business/ApplyChangeController.java index a05160a..12b3293 100644 --- a/server/shop/src/main/java/com/doumee/api/business/ApplyChangeController.java +++ b/server/shop/src/main/java/com/doumee/api/business/ApplyChangeController.java @@ -6,6 +6,7 @@ import com.doumee.core.model.ApiResponse; import com.doumee.core.model.PageData; import com.doumee.core.model.PageWrap; +import com.doumee.dao.business.dto.ApplyChangeOptDTO; import com.doumee.dao.business.model.ApplyChange; import com.doumee.dao.business.model.InsuranceApply; import com.doumee.service.business.ApplyChangeService; @@ -114,6 +115,14 @@ return ApiResponse.success(applyChangeService.findPageForCompany(pageWrap)); } + @ApiOperation("鍒楄〃鏌ヨ") + @PostMapping("/list") + @RequiresPermissions("business:applychange:query") + public ApiResponse<List<ApplyChange>> list (@RequestBody ApplyChange applyChange) { + return ApiResponse.success(applyChangeService.findListForCompany(applyChange)); + } + + @ApiOperation("瀵煎嚭Excel") @PostMapping("/exportExcel") @RequiresPermissions("business:applychange:exportExcel") @@ -149,4 +158,15 @@ public ApiResponse check(@RequestBody ApplyChange model) { return ApiResponse.success(applyChangeService.check(model)); } + + + + @ApiOperation(value = "涓氬姟澶勭悊",notes = "閫�鍥炵敵璇凤紝鍏抽棴绛�") + @PostMapping("/applyChangeOpt") + public ApiResponse applyChangeOpt (@RequestBody ApplyChangeOptDTO applyChangeOptDTO) { + applyChangeService.changeOpt(applyChangeOptDTO); + return ApiResponse.success("鎿嶄綔鎴愬姛"); + } + + } -- Gitblit v1.9.3