This commit is contained in:
jiask 2025-09-15 09:24:24 +08:00
parent ab49579438
commit d4188a78db
1 changed files with 2 additions and 1 deletions

View File

@ -276,8 +276,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and mdsr.sale_month = month(curdate())
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_mealtime bsm on mr.stall_id=bsm.stall_id and mrd.mealtime_type=bsm.mealtime_type
where
mrd.apply_date = #{applyDate}
mrd.apply_date = #{applyDate} and bsm.if_enable='1'
<if test="recipeId != null">
and mrd.recipe_id = #{recipeId}
</if>