接口列表
parent
1c819e0b0b
commit
fbb18de304
|
@ -39,6 +39,10 @@ public class ConnectorUserReq {
|
|||
* 用户名称
|
||||
*/
|
||||
private String userName;
|
||||
/**
|
||||
* 用户权限
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 分页
|
||||
*/
|
||||
|
|
|
@ -15,13 +15,18 @@
|
|||
connector_user.connector_residue_degree,
|
||||
connector_user.connector_frequency,
|
||||
sys_user.user_name,
|
||||
sys_user.remark,
|
||||
connector.connector_name
|
||||
FROM
|
||||
connector_user
|
||||
LEFT JOIN sys_user ON connector_user.user_id = sys_user.user_id
|
||||
LEFT JOIN connector ON connector_user.connector_id = connector.connector_id
|
||||
WHERE
|
||||
sys_user.user_id =#{userId}
|
||||
<where>
|
||||
<if test="remark!='管理员'">
|
||||
and sys_user.user_id =#{userId}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
</select>
|
||||
<select id="findApiList" resultType="com.muyu.domain.Connector">
|
||||
select *from connector where connector_status=1
|
||||
|
|
Loading…
Reference in New Issue