From 46fb684ba924ada80ed9c0a57ef7151efe432149 Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期三, 13 十二月 2023 15:44:33 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/java/com/zt/life/modules/configItemChange/controller/ConfigItemChangeController.java | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/mainPart/src/main/java/com/zt/life/modules/configItemChange/controller/ConfigItemChangeController.java b/modules/mainPart/src/main/java/com/zt/life/modules/configItemChange/controller/ConfigItemChangeController.java index a3b5006..8da6116 100644 --- a/modules/mainPart/src/main/java/com/zt/life/modules/configItemChange/controller/ConfigItemChangeController.java +++ b/modules/mainPart/src/main/java/com/zt/life/modules/configItemChange/controller/ConfigItemChangeController.java @@ -28,6 +28,8 @@ import org.springframework.web.bind.annotation.*; import springfox.documentation.annotations.ApiIgnore; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -41,7 +43,7 @@ */ @RestController @RequestMapping("/configItemChange/ConfigItemChange/") -@Api(tags="config_item_Change") +@Api(tags="config_item_change") public class ConfigItemChangeController { @Autowired private ConfigItemChangeService configItemChangeService; @@ -125,7 +127,14 @@ @GetMapping("getItemList") @ApiOperation("鑾峰彇鍏ュ簱閰嶇疆椤瑰垪琛�") public PageResult<WarehouseConfigItem> getItemList(Long projectId,String ids) { - List<WarehouseConfigItem> resultList = configItemService.warehouseConfigList(projectId,ids); + String type ="change"; + List<WarehouseConfigItem> resultList = configItemService.warehouseConfigList(projectId,ids,type); return PageResult.ok(resultList); } + @GetMapping("exportConfigChange") + @ApiOperation("鎵撳嵃鍙樻洿鐢宠鍗�") + @LogOperation("鎵撳嵃鍙樻洿鐢宠鍗�") + public void exportConfigChange(Long id, HttpServletRequest request, HttpServletResponse response) { + configItemChangeService.exportConfigChange(id,request, response); + } } -- Gitblit v1.9.1