feat:applyType

This commit is contained in:
苏竹红
2025-06-24 20:51:43 +08:00
parent a9bbd743e8
commit e17900dcd5

View File

@@ -56,7 +56,7 @@
<select id="selectByStoreAndDateStage" resultMap="BaseResultMap"> <select id="selectByStoreAndDateStage" resultMap="BaseResultMap">
SELECT * FROM xfsg_pre_fry_records SELECT * FROM xfsg_pre_fry_records
WHERE store_code = #{storeCode} and current_apply_type = #{applyType} 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) 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) )
</select> </select>