mirror of
https://github.com/suhf/No1WMS.git
synced 2026-11-04 18:21:57 +09:00
aop로 권한 적용되게 추가
This commit is contained in:
1 parent
cd82828562
commit
f21300a991
16 files changed
+423
-14
No files matched your search
@@ -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