From 12a05d679f6ce5080b6df0982c61213a378ad0e6 Mon Sep 17 00:00:00 2001 From: pjb <123456> Date: 星期四, 26 六月 2025 14:18:19 +0800 Subject: [PATCH] 日志ID重复问题 --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/WaveManagentController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/WaveManagentController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/WaveManagentController.java index c62d794..d59b241 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/WaveManagentController.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/apis/wcs/controller/WaveManagentController.java @@ -92,7 +92,8 @@ */ @GetMapping("/sow/tasks") public R getTasks() { - return waveManagentService.getTask(); + HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest(); + return waveManagentService.getTask(request); } /** -- Gitblit v1.9.1