Compare commits

...

2 Commits

2 changed files with 2 additions and 1 deletions

View File

@@ -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);
} }

View File

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