From 0e2cd55fbd4742991e03e01f44942e13cea58695 Mon Sep 17 00:00:00 2001 From: Kelvin Date: Tue, 7 Jan 2025 14:24:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E6=B6=88=E6=81=AF=E9=80=9A=E7=9F=A5):?= =?UTF-8?q?=20=E9=80=9A=E7=9F=A5=E5=86=85=E5=AE=B9=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E2=80=9C=E8=AE=A2=E5=8D=95=E5=8F=B7=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ktg/web/controller/system/SysMessageController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ktg-admin/src/main/java/com/ktg/web/controller/system/SysMessageController.java b/ktg-admin/src/main/java/com/ktg/web/controller/system/SysMessageController.java index deca42e..a088b34 100644 --- a/ktg-admin/src/main/java/com/ktg/web/controller/system/SysMessageController.java +++ b/ktg-admin/src/main/java/com/ktg/web/controller/system/SysMessageController.java @@ -7,6 +7,7 @@ import com.ktg.common.constant.UserConstants; import com.ktg.common.core.domain.entity.SysUser; import com.ktg.common.utils.StringUtils; import com.ktg.framework.message.MessageProvider; +import com.ktg.system.domain.dto.AgvArrivedDto; import com.ktg.system.service.ISysUserService; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.beans.factory.annotation.Autowired; @@ -91,8 +92,8 @@ public class SysMessageController extends BaseController { */ @Log(title = "消息", businessType = BusinessType.INSERT) @PostMapping("/open/agv-arrived") - public AjaxResult addAgv(@RequestBody SysMessage sysMessage) { - sysMessageService.insertSysPromptMessage("AGV小车已到达",""); + public AjaxResult addAgv(@RequestBody AgvArrivedDto agvArrivedDto) { + sysMessageService.insertSysPromptMessage("AGV小车已到达", "订单号: " + agvArrivedDto.getOrderNo()); return AjaxResult.success(); }