作者 shenhailong

角色类型修改

@@ -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">