From 52d29a7df6e8a3d6ab0b39016caa12f511a9d114 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Mon, 19 May 2025 14:48:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E8=AF=89=E5=BB=BA=E8=AE=AE=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AllocCanteenSuggestionController.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/controller/AllocCanteenSuggestionController.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/controller/AllocCanteenSuggestionController.java index ebdf17a..35763bf 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/controller/AllocCanteenSuggestionController.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/alloc/controller/AllocCanteenSuggestionController.java @@ -105,6 +105,20 @@ public class AllocCanteenSuggestionController extends BaseController { } } + @ApiOperation(value = "回复投诉建议 ") + //@PreventRepeatSubmit + //@RequiresPermissions("alloc:suggestion:edit") + @SysLog(title = "回复投诉建议 ", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->回复投诉建议 ") + @PostMapping("/reply") + public AjaxResult reply(@RequestBody AllocCanteenSuggestion allocCanteenSuggestion) { + try { + allocCanteenSuggestion.setReplyState(1L); + return toAjax(allocCanteenSuggestionService.updateAllocCanteenSuggestion(allocCanteenSuggestion)); + } catch (Exception e) { + return error("系统错误, " + e.getMessage()); + } + } + /** * 删除投诉建议 */