jsk
This commit is contained in:
parent
ab49579438
commit
d4188a78db
|
|
@ -276,8 +276,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and mdsr.sale_month = month(curdate())
|
and mdsr.sale_month = month(curdate())
|
||||||
left join basic_canteen ac on mr.canteen_id = ac.canteen_id
|
left join basic_canteen ac on mr.canteen_id = ac.canteen_id
|
||||||
left join basic_stall ass on mr.stall_id = ass.stall_id
|
left join basic_stall ass on mr.stall_id = ass.stall_id
|
||||||
|
left join basic_stall_mealtime bsm on mr.stall_id=bsm.stall_id and mrd.mealtime_type=bsm.mealtime_type
|
||||||
where
|
where
|
||||||
mrd.apply_date = #{applyDate}
|
mrd.apply_date = #{applyDate} and bsm.if_enable='1'
|
||||||
<if test="recipeId != null">
|
<if test="recipeId != null">
|
||||||
and mrd.recipe_id = #{recipeId}
|
and mrd.recipe_id = #{recipeId}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue