Browse Source

资产图标模糊查询

pull/10/head
西大锐 2 years ago
parent
commit
11608a84ad
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/AssetIconDaoMapper.xml

+ 2
- 2
ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/AssetIconDaoMapper.xml View File

@@ -53,7 +53,7 @@
and id = #{assetIcon.id}
</if>
<if test="assetIcon.name != null and assetIcon.name != ''">
and name = #{assetIcon.name}
and name like "%"#{assetIcon.name}"%"
</if>
<if test="assetIcon.categoryId != null">
and category_id = #{assetIcon.categoryId}
@@ -94,7 +94,7 @@
and id = #{assetIcon.id}
</if>
<if test="assetIcon.name != null and assetIcon.name != ''">
and name = #{assetIcon.name}
and name like "%"#{assetIcon.name}"%"
</if>
<if test="assetIcon.categoryId != null">
and category_id = #{assetIcon.categoryId}


Loading…
Cancel
Save