给角色查询增加备注的查询条件

This commit is contained in:
季圣华
2023-03-06 23:12:48 +08:00
parent f4905dbe0e
commit 7b0a69ef79
4 changed files with 19 additions and 7 deletions

View File

@@ -12,6 +12,10 @@
<bind name="bindName" value="'%'+name+'%'"/>
and name like #{bindName}
</if>
<if test="description != null">
<bind name="bindDescription" value="'%'+description+'%'"/>
and description like #{bindDescription}
</if>
order by sort asc, id desc
<if test="offset != null and rows != null">
limit #{offset},#{rows}
@@ -27,6 +31,10 @@
<bind name="bindName" value="'%'+name+'%'"/>
and name like #{bindName}
</if>
<if test="description != null">
<bind name="bindDescription" value="'%'+description+'%'"/>
and description like #{bindDescription}
</if>
</select>
<update id="batchDeleteRoleByIds">
update jsh_role