Compare commits
2 Commits
c2c2fcd585
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f0ea6c9f9 | |||
| 2d90f404bb |
@@ -22,7 +22,7 @@ public class UserService {
|
|||||||
List<UserBasicInfoEntity> userBasicInfoEntityList = userMapper.selectUserWithIdPw(userId,userPw);
|
List<UserBasicInfoEntity> userBasicInfoEntityList = userMapper.selectUserWithIdPw(userId,userPw);
|
||||||
|
|
||||||
if(userBasicInfoEntityList.isEmpty()) {
|
if(userBasicInfoEntityList.isEmpty()) {
|
||||||
throw BusinessException.notFound("USER_NOT_FOUND", "사용자가 없습니다.")
|
throw BusinessException.forbidden("USER_NOT_FOUND", "사용자가 없습니다.")
|
||||||
.with("userId", userId)
|
.with("userId", userId)
|
||||||
.with("userPw", userPw);
|
.with("userPw", userPw);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
FROM project2.dbo.person
|
FROM project2.dbo.person
|
||||||
WHERE krc_in_date IS NOT NULL
|
WHERE krc_in_date IS NOT NULL
|
||||||
AND krc_out_date = ''
|
AND krc_out_date = ''
|
||||||
|
AND p_resign =0
|
||||||
AND p_user_mail = #{userMail}
|
AND p_user_mail = #{userMail}
|
||||||
AND p_pass_new COLLATE Latin1_General_CS_AS = #{userPw}
|
AND p_pass_new COLLATE Latin1_General_CS_AS = #{userPw}
|
||||||
ORDER BY p_no
|
ORDER BY p_no
|
||||||
|
|||||||
Reference in New Issue
Block a user