feat:fry_date

This commit is contained in:
苏竹红
2025-06-25 16:04:57 +08:00
parent 40a3988a40
commit 965f78269e

View File

@@ -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}))
</select>
<select id="selectDailyFryCountInCurrentMonth" resultType="com.cool.store.dto.pre.fry.DailyFryCountDTO">