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},'%')
)