You've already forked FrameTour-BE
admin验证
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user