feat:预炸1
This commit is contained in:
@@ -62,8 +62,7 @@
|
||||
<foreach collection="yesterdayStageList" item="stage" open="(" separator="," close=")">
|
||||
#{stage}
|
||||
</foreach>)
|
||||
OR
|
||||
(fry_date = #{queryDate} AND current_stage = #{todayStage})
|
||||
OR (fry_date = #{queryDate} AND current_stage = #{todayStage}) or (fry_date = #{queryDate} AND current_stage = 2 and current_apply_type = 2)
|
||||
)
|
||||
</select>
|
||||
|
||||
@@ -90,7 +89,7 @@
|
||||
b.product_name as productName,
|
||||
b.product_code as productCode,
|
||||
c.store_name as storeName,
|
||||
c.store_num as storeNum
|
||||
c.store_num as storeCode
|
||||
FROM xfsg_pre_fry_records a
|
||||
LEFT JOIN xfsg_pre_fried_products b ON a.product_id = b.id
|
||||
LEFT JOIN store_5558ce7a3aa84e3590392fcaa8697ffb c ON a.store_code = c.store_num
|
||||
|
||||
Reference in New Issue
Block a user