Browse Source

!=''

master
yinzuomei 3 years ago
parent
commit
df0489940e
  1. 4
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

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

@ -132,7 +132,9 @@
<if test="subCondition.queryType!= null and subCondition.queryType == 'resi_category' ">
<if test="null!=subCondition.columnValue[0] and ''!=subCondition.columnValue[0]">
<foreach collection="subCondition.columnValue" item="colValue" open="" separator="" close="">
and ${subCondition.tableName}.${colValue} ='1'
<if test="colValue != null and colValue != ''">
and ${subCondition.tableName}.${colValue} ='1'
</if>
</foreach>
</if>
</if>

Loading…
Cancel
Save