|
@@ -438,7 +438,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertUserRole">
|
|
|
- insert into sys_user_role (user_id,role_id) select user_id,${roleId} from sys_user_role where user_id = {userId} and role_id !=#{roleId}
|
|
|
+ insert into sys_user_role (user_id,role_id) select user_id,${roleId} from sys_user_role where user_id = #{userId} and role_id != #{roleId}
|
|
|
</insert>
|
|
|
|
|
|
</mapper>
|