|
|
@ -125,14 +125,15 @@ |
|
|
|
left join sys_staffinfo si on si.sid = su.staffSid |
|
|
|
where su.userName = #{param1} |
|
|
|
and su.isDelete = 0 |
|
|
|
and su.userType = 1 |
|
|
|
and su.userType = 1 and si.personTypeKey != '01' |
|
|
|
</select> |
|
|
|
<select id="selectByAppId" resultType="com.yxt.anrui.portal.api.sysuser.SysUser"> |
|
|
|
SELECT * |
|
|
|
FROM sys_user |
|
|
|
SELECT su.* |
|
|
|
FROM sys_user su |
|
|
|
left join sys_staffinfo si on si.sid = su.staffSid |
|
|
|
where appId = #{appId} |
|
|
|
and isDelete = 0 |
|
|
|
and userType = 1 |
|
|
|
and userType = 1 and si.personTypeKey != '01' |
|
|
|
</select> |
|
|
|
<select id="fetchByUserName" resultType="com.yxt.anrui.portal.api.sysuser.SysUser"> |
|
|
|
SELECT * |
|
|
|