用户资产多角色

master
chaiyapeng 2024-09-03 17:21:37 +08:00
parent 758cb99c78
commit e476502c5b
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,6 @@
LEFT JOIN sys_user ON connector_user.user_id = sys_user.user_id LEFT JOIN sys_user ON connector_user.user_id = sys_user.user_id
LEFT JOIN connector ON connector_user.connector_id = connector.connector_id LEFT JOIN connector ON connector_user.connector_id = connector.connector_id
<where> <where>
<if test="remark!='管理员' "> <if test="remark!='管理员' ">
and sys_user.user_id=#{userId} and sys_user.user_id=#{userId}
</if> </if>
@ -32,6 +31,7 @@
<select id="findApiList" resultType="com.muyu.domain.Connector"> <select id="findApiList" resultType="com.muyu.domain.Connector">
select *from connector select *from connector
<where> <where>
connector_status=1
<if test="connectorName!=null and connectorName!='' "> <if test="connectorName!=null and connectorName!='' ">
and connector_name like '%${connectorName}%' and connector_name like '%${connectorName}%'
</if> </if>