Browse Source

列表查询

dev_shibei_match
yinzuomei 4 years ago
parent
commit
78a4b779d9
  1. 2
      epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml

2
epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml

@ -90,7 +90,7 @@
AND r.GRID_PIDS LIKE concat('%',#{gridPids},'%') AND r.GRID_PIDS LIKE concat('%',#{gridPids},'%')
</if> </if>
<if test="null != level and level ==1"> <if test="null != level and level ==1">
and r.PARENT_CODE=#{categoryCode} and (r.PARENT_CODE=#{categoryCode} or r.CATEGORY_CODE=#{categoryCode})
</if> </if>
<if test="null != level and level ==2"> <if test="null != level and level ==2">
and r.CATEGORY_CODE=#{categoryCode} and r.CATEGORY_CODE=#{categoryCode}

Loading…
Cancel
Save