Compare commits

..

7 Commits

4 changed files with 5 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ repositories {
}
dependencies {
implementation "com.kri.common:starter:beta.1.0.59"
implementation "com.kri.common:starter:beta.1.0.66"
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'

View File

@@ -22,7 +22,7 @@ public class UserService {
List<UserBasicInfoEntity> userBasicInfoEntityList = userMapper.selectUserWithIdPw(userId,userPw);
if(userBasicInfoEntityList.isEmpty()) {
throw BusinessException.notFound("USER_NOT_FOUND", "사용자가 없습니다.")
throw BusinessException.forbidden("USER_NOT_FOUND", "사용자가 없습니다.")
.with("userId", userId)
.with("userPw", userPw);
}

View File

@@ -32,6 +32,7 @@ kri:
admin-allow-ips:
- 127.0.0.1/32
- 0:0:0:0:0:0:0:1
- 211.254.145.130/32
# apikey 보관 DB(MySQL)
db:
url: jdbc:mysql://db-md87m-kr.vpc-pub-cdb.ntruss.com:3306/kri_common?characterEncoding=UTF-8
@@ -46,6 +47,7 @@ kri:
- /swagger-ui.html
- /swagger-ui/**
- /ping
- /internal/apikey/**
swagger:
enabled: true

View File

@@ -16,6 +16,7 @@
FROM project2.dbo.person
WHERE krc_in_date IS NOT NULL
AND krc_out_date = ''
AND p_resign =0
AND p_user_mail = #{userMail}
AND p_pass_new COLLATE Latin1_General_CS_AS = #{userPw}
ORDER BY p_no