From 5499dfaaf5cb0e3de5017b2d7776c3e7352f2373 Mon Sep 17 00:00:00 2001 From: wangchaoxu Date: Thu, 14 Sep 2023 16:13:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E5=BA=97=E5=9B=9E=E8=B0=83=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ms/api/spi/move/SearchChoicenessSourceItemService.java | 2 +- .../main/resources/mapper/DoudianAftersaleMsgQueueMapper.xml | 1 + ms-dal/src/main/resources/mapper/DoudianTradeMsgQueueMapper.xml | 1 + .../main/resources/mapper/DsAutoPurchaseOrderQueueMapper.xml | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ms-biz/src/main/java/com/ms/api/spi/move/SearchChoicenessSourceItemService.java b/ms-biz/src/main/java/com/ms/api/spi/move/SearchChoicenessSourceItemService.java index 922a8d77..7a497551 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/move/SearchChoicenessSourceItemService.java +++ b/ms-biz/src/main/java/com/ms/api/spi/move/SearchChoicenessSourceItemService.java @@ -49,7 +49,7 @@ public class SearchChoicenessSourceItemService extends SPIBaseService implements params.put("isHideMoved",fields.getIsHideMoved()); params.put("pageNo",fields.getPageNo()); params.put("pageSize",fields.getPageSize()); - params.put("authCode",authCode); // TODO 从数据库获取 + params.put("authCode",authCode); log.info(params.toString()); JSONObject resObj = null; String res = null; diff --git a/ms-dal/src/main/resources/mapper/DoudianAftersaleMsgQueueMapper.xml b/ms-dal/src/main/resources/mapper/DoudianAftersaleMsgQueueMapper.xml index 31cd8086..9f9ea152 100644 --- a/ms-dal/src/main/resources/mapper/DoudianAftersaleMsgQueueMapper.xml +++ b/ms-dal/src/main/resources/mapper/DoudianAftersaleMsgQueueMapper.xml @@ -47,6 +47,7 @@ from doudian_aftersale_msg_queue where doudian_aftersale_msg_queue_id = #{queueId,jdbcType=BIGINT} and locked = 0 + limit 1 diff --git a/ms-dal/src/main/resources/mapper/DoudianTradeMsgQueueMapper.xml b/ms-dal/src/main/resources/mapper/DoudianTradeMsgQueueMapper.xml index 3e21e030..0ca7023d 100644 --- a/ms-dal/src/main/resources/mapper/DoudianTradeMsgQueueMapper.xml +++ b/ms-dal/src/main/resources/mapper/DoudianTradeMsgQueueMapper.xml @@ -47,6 +47,7 @@ from doudian_trade_msg_queue where doudian_trade_msg_queue_id = #{queueId,jdbcType=BIGINT} and locked = 0 + limit 1 diff --git a/ms-dal/src/main/resources/mapper/DsAutoPurchaseOrderQueueMapper.xml b/ms-dal/src/main/resources/mapper/DsAutoPurchaseOrderQueueMapper.xml index 75f35265..9bc7e184 100644 --- a/ms-dal/src/main/resources/mapper/DsAutoPurchaseOrderQueueMapper.xml +++ b/ms-dal/src/main/resources/mapper/DsAutoPurchaseOrderQueueMapper.xml @@ -40,6 +40,7 @@ from ds_auto_purchase_order_queue where ds_auto_purchase_order_queue_id = #{queueId,jdbcType=BIGINT} and locked = 0 + limit 1