feat:applyType
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user