正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -180,7 +180,7 @@ | @@ -180,7 +180,7 @@ | ||
180 | and role_name = #{roleName, jdbcType=VARCHAR} | 180 | and role_name = #{roleName, jdbcType=VARCHAR} |
181 | </if> | 181 | </if> |
182 | <if test="type != '' and type !=null"> | 182 | <if test="type != '' and type !=null"> |
183 | - and type = #{type, jdbcType=VARCHAR} | 183 | + and type like '%' #{type} '%' |
184 | </if> | 184 | </if> |
185 | </select> | 185 | </select> |
186 | <select id="findRolesByUserId" parameterType="java.lang.Integer" resultMap="BaseResultMap"> | 186 | <select id="findRolesByUserId" parameterType="java.lang.Integer" resultMap="BaseResultMap"> |
-
请 注册 或 登录 后发表评论