mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 04:03:45 +09:00
aop로 권한 적용되게 추가
This commit is contained in:
@@ -48,6 +48,13 @@
|
||||
and dept.id = acc.department_id and acc.position_id = pos.id
|
||||
where acc.id = #{id}
|
||||
</select>
|
||||
<select id="selectByLogin" resultMap="accountResultMap" parameterType="accountDto">
|
||||
SELECT
|
||||
id, name, activation, password,
|
||||
personal_authority_id , group_authority_id
|
||||
from account
|
||||
where employee_number = #{employeeNumber} and password = #{password}
|
||||
</select>
|
||||
|
||||
<select id="selectAll" resultMap="accountResultMap" parameterType="map">
|
||||
SELECT
|
||||
@@ -124,4 +131,7 @@
|
||||
activation = #{activation}
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
<update id="delete" parameterType="accountDto">
|
||||
update account SET activation = false WHERE id = #{id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -1,6 +1,10 @@
|
||||
.navi-bg {
|
||||
background-color : antiquewhite;
|
||||
background-color : #222831;
|
||||
}
|
||||
.nav-item a{
|
||||
color : #EEEEEE;
|
||||
}
|
||||
|
||||
.img-user{
|
||||
width : 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user