From ef1d75e6e2405f6c65db83663d781b7de077cf82 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Wed, 5 Mar 2025 15:34:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?sql=20=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/ShopActivateCouponRecordMapper.xml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml b/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml index 3c02fc902..4ca88cf3e 100644 --- a/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml +++ b/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml @@ -67,10 +67,7 @@ LEFT JOIN tb_shop_info shop ON inRecord.shop_id = shop.id LEFT JOIN tb_product pro ON inRecord.pro_id = pro.id and pro.shop_id = #{shopId} WHERE - inRecord.shop_user_id in - - #{item} - + inRecord.shop_user_id = #{shopUserId} and inRecord.shop_id = #{shopId} From 6de7f4e0441dbcaed45043a9e36f3ea764a5126c Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Wed, 5 Mar 2025 15:37:55 +0800 Subject: [PATCH 2/2] =?UTF-8?q?sql=20=E9=97=AE=E9=A2=982?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ShopActivateCouponRecordMapper.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml b/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml index 4ca88cf3e..bc406c6e8 100644 --- a/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml +++ b/cash-service/account-service/src/main/resources/mapper/ShopActivateCouponRecordMapper.xml @@ -60,7 +60,6 @@ pro.id as proId, inRecord.name as name, inRecord.type, - inRecord.over_num as num, inRecord.use_end_time as endTime FROM tb_shop_activate_coupon_record inRecord