aop로 권한 적용되게 추가

This commit is contained in:
Suh
2024-01-15 15:39:00 +09:00
parent cd82828562
commit f21300a991
16 changed files with 423 additions and 14 deletions

View File

@@ -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>

View File

@@ -1,6 +1,10 @@
.navi-bg {
background-color : antiquewhite;
background-color : #222831;
}
.nav-item a{
color : #EEEEEE;
}
.img-user{
width : 100%;
}