From 4586f61c5110b1dad30820bcf6243204db260c44 Mon Sep 17 00:00:00 2001 From: gaowdong Date: Fri, 4 Jul 2025 14:35:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E9=93=BE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/ims/PurchaseContractMapper.xml | 2 +- .../main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/PurchaseContractMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/PurchaseContractMapper.xml index cf58a6a..9299854 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/PurchaseContractMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/PurchaseContractMapper.xml @@ -111,7 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and ipc.contract_start_time = ]]> #{startDateTime} - and ipc.contract_end_time #{endDateTime} + and ipc.contract_start_time #{endDateTime} order by ipc.contract_id desc diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml index b743707..bbc364e 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/kitchen/KitchenStaffInfoMapper.xml @@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and (kst.staff_name like CONCAT('%',#{searchValue},'%') - or kst.mobile like CONCAT('%',#{searchValue},'%') + or kst.mobile = #{encryptedSearchValue} or kst.staff_no like CONCAT('%',#{searchValue},'%') )