Compare commits
7 Commits
3df08841c8
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f0ea6c9f9 | |||
| 2d90f404bb | |||
| c2c2fcd585 | |||
| c267b991f0 | |||
| 95f97f78c5 | |||
| fcfd49c097 | |||
| 9777f45cd2 |
@@ -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'
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user