feat:applyType

This commit is contained in:
苏竹红
2025-06-24 20:58:01 +08:00
parent e17900dcd5
commit e919de59fb

View File

@@ -57,7 +57,7 @@
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>
<select id="selectDailyFryCountInCurrentMonth" resultType="com.cool.store.dto.pre.fry.DailyFryCountDTO"> <select id="selectDailyFryCountInCurrentMonth" resultType="com.cool.store.dto.pre.fry.DailyFryCountDTO">