diff --git a/coolstore-partner-dao/src/main/resources/mapper/PreFryRecordsMapper.xml b/coolstore-partner-dao/src/main/resources/mapper/PreFryRecordsMapper.xml index 239dcf4c9..0b994ea11 100644 --- a/coolstore-partner-dao/src/main/resources/mapper/PreFryRecordsMapper.xml +++ b/coolstore-partner-dao/src/main/resources/mapper/PreFryRecordsMapper.xml @@ -57,7 +57,7 @@ SELECT * FROM xfsg_pre_fry_records WHERE store_code = #{storeCode} and current_apply_type = #{applyType} AND ( (fry_date = DATE_SUB(#{queryDate}, INTERVAL 1 DAY) AND current_stage IN (3,4,5)) - OR (fry_date = #{queryDate} AND current_stage in (1, 2) ) + OR (fry_date = #{queryDate} AND current_stage in (1, 2) ))