admin验证

This commit is contained in:
2025-07-18 16:38:40 +08:00
parent f54595466a
commit b3df268964
6 changed files with 38 additions and 2 deletions

View File

@@ -77,7 +77,8 @@
au.name as staffName,
au.id as staffId,
au.password,
au.role_id
au.role_id,
au.update_at
from admin_user au
where account = #{account}
and au.status = 1
@@ -89,4 +90,16 @@
where id = #{id}
and status = 1
</select>
<select id="getById" resultType="com.ycwl.basic.model.pc.adminUser.entity.LoginEntity">
select
au.account,
au.name as staffName,
au.id as staffId,
au.password,
au.role_id,
au.update_at
from admin_user au
where id = #{id}
and au.status = 1
</select>
</mapper>