1.用户,角色名称查询修改为全模糊查询

master
x_z 3 years ago
parent 55bf8f3115
commit 41ed3487c7

@ -18,7 +18,7 @@
AND userFlag = #{userFlag}
</if>
<if test="userName != null and '' != userName">
AND userName LIKE CONCAT(#{userName},'%')
AND userName LIKE CONCAT('%',#{userName},'%')
</if>
<if test="CustomerId != null">

@ -12,7 +12,7 @@
AND status = #{status}
</if>
<if test="name != null and '' != name">
AND `name` LIKE CONCAT(#{name},'%')
AND `name` LIKE CONCAT('%',#{name},'%')
</if>
</where>
</select>

Loading…
Cancel
Save