Browse Source

定制功能列表接口,功能名称支持模糊查询

master
zhangyongzhangyong 5 years ago
parent
commit
66bac5d209
  1. 4
      epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/FunctionCustomizedDao.xml

4
epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/FunctionCustomizedDao.xml

@ -63,7 +63,7 @@
WHERE f.DEL_FLAG = '0'
AND cu.DEL_FLAG = '0'
<if test="customizedName != null and customizedName.trim() != ''">
AND cu.CUSTOMIZED_NAME = #{customizedName}
AND cu.CUSTOMIZED_NAME like concat('%', #{customizedName}, '%')
</if>
<if test="fromApp != null and fromApp.trim() != ''">
AND cu.FROM_APP = 'gov'
@ -81,7 +81,7 @@
WHERE f.DEL_FLAG = '0'
AND cu.DEL_FLAG = '0'
<if test="customizedName != null and customizedName.trim() != ''">
AND cu.CUSTOMIZED_NAME = #{customizedName}
AND cu.CUSTOMIZED_NAME like concat('%', #{customizedName}, '%')
</if>
<if test="fromApp != null and fromApp.trim() != ''">
AND cu.FROM_APP = 'gov'

Loading…
Cancel
Save