Browse Source

【政策】-

master
wangxianzhang 3 years ago
parent
commit
cc2649b85d
  1. 15
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/epmetuser/IcResiUserDao.xml

15
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/epmetuser/IcResiUserDao.xml

@ -114,14 +114,6 @@
<if test="name != null">
and ic_resi_user.NAME like CONCAT('%'#{name}, '%')
</if>
<!-- resi规则列表 -->
<if test="resiRules != null and resiRules.size() > 0">
<foreach collection="resiRules" item="rule">
${rule.lastLogicalRel} ${rule.colTable}.${rule.colKey} ${rule.queryType} #{rule.colVal}
</foreach>
</if>
<!-- 房屋id列表 -->
<if test="houseIds != null and houseIds.size() > 0">
and HOME_ID in
@ -129,6 +121,13 @@
#{houseId}
</foreach>
</if>
<!-- resi规则列表 -->
<if test="resiRules != null and resiRules.size() > 0">
and
<foreach collection="resiRules" item="rule" open="(" close=")">
${rule.colTable}.${rule.colKey} ${rule.queryType} #{rule.colVal} ${rule.lastLogicalRel}
</foreach>
</if>
</where>
</select>

Loading…
Cancel
Save