联调修改
This commit is contained in:
parent
35881c05f1
commit
7078e8d401
|
|
@ -90,19 +90,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
where 1= 1
|
where 1= 1
|
||||||
|
|
||||||
<if test="areaIds !=null">
|
<if test="areaIds !=null and areaIds.size()>0">
|
||||||
and t3.area_id in
|
and t3.area_id in
|
||||||
<foreach collection="areaIds" open="(" close=")" item="item" separator=",">
|
<foreach collection="areaIds" open="(" close=")" item="item" separator=",">
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="canteenIds !=null">
|
<if test="canteenIds !=null and canteenIds.size()>0">
|
||||||
and t2.canteen_id in
|
and t2.canteen_id in
|
||||||
<foreach collection="canteenIds" open="(" close=")" item="item" separator=",">
|
<foreach collection="canteenIds" open="(" close=")" item="item" separator=",">
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="stallIds !=null">
|
<if test="stallIds !=null and stallIds.size()>0">
|
||||||
and t1.stall_id in
|
and t1.stall_id in
|
||||||
<foreach collection="stallIds" open="(" close=")" item="item" separator=",">
|
<foreach collection="stallIds" open="(" close=")" item="item" separator=",">
|
||||||
#{item}
|
#{item}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue