zhczyx@163.com 2 weeks ago
parent
commit
aa93c34223
  1. 2
      dongjian-dashboard-back-dao/src/main/resources/mappers/ex/LevelMapperExt.xml

2
dongjian-dashboard-back-dao/src/main/resources/mappers/ex/LevelMapperExt.xml

@ -317,7 +317,7 @@
</otherwise> </otherwise>
</choose> </choose>
<where> <where>
<if test="bindBuildingIdList != null"> <if test="bindBuildingIdList != null and bindBuildingIdList.size() > 0">
AND b.building_id IN <foreach collection="bindBuildingIdList" item="item" open="(" separator="," close=")">#{item}</foreach> AND b.building_id IN <foreach collection="bindBuildingIdList" item="item" open="(" separator="," close=")">#{item}</foreach>
</if> </if>
</where> </where>

Loading…
Cancel
Save