Browse Source

一户一档只的括号

dev
jianjun 3 years ago
parent
commit
04763735ff
  1. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

2
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

@ -955,7 +955,7 @@
STATUS = '0'
AND CUSTOMER_ID = #{customerId}
<if test="pids != null and pids.trim() != ''">
and AGENCY_ID = #{agencyId} OR PIDS like CONCAT(#{pids}, '%')
and ( AGENCY_ID = #{agencyId} OR PIDS like CONCAT(#{pids}, '%') )
</if>
<if test="gridId != null and gridId.trim() != ''">
and GRID_ID = #{gridId}

Loading…
Cancel
Save