251222_02_FIX : 오탈자 수정
This commit is contained in:
@@ -9,19 +9,19 @@ import lombok.RequiredArgsConstructor;
|
|||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public enum SystemEventType implements CodeEnum<Short> {
|
public enum SystemEventType implements CodeEnum<Short> {
|
||||||
LOGIN((short) 11), // 로그인
|
LOGIN((short) 11), // 로그인
|
||||||
LOGOUT((short) 11), // 로그 아웃
|
LOGOUT((short) 12), // 로그 아웃
|
||||||
|
|
||||||
CREAT_PROJECT((short) 21), // 프로젝트 생성
|
CREATE_PROJECT((short) 21), // 프로젝트 생성
|
||||||
UPDATE_PROJECT((short) 22), // 프로젝트 수정
|
UPDATE_PROJECT((short) 22), // 프로젝트 수정
|
||||||
DELETE_PROJECT((short) 23), // 프로젝트 삭제
|
DELETE_PROJECT((short) 23), // 프로젝트 삭제
|
||||||
ASSIGN_PROJECT_USER((short) 24), // 프로젝트 배정
|
ASSIGN_PROJECT_USER((short) 24), // 프로젝트 배정
|
||||||
|
|
||||||
CREAT_USER((short) 31), // 사용자 생성
|
CREATE_USER((short) 31), // 사용자 생성
|
||||||
UPDATE_USER((short) 32), // 사용자 수정
|
UPDATE_USER((short) 32), // 사용자 수정
|
||||||
DELETE_USER((short) 33), // 사용자 삭제
|
DELETE_USER((short) 33), // 사용자 삭제
|
||||||
UPLOAD_USER((short) 34), // 사용자 삭제
|
UPLOAD_USER((short) 34), // 사용자 삭제
|
||||||
|
|
||||||
CREAT_ROLE((short) 41), // 권한 생성
|
CREATE_ROLE((short) 41), // 권한 생성
|
||||||
UPDATE_ROLE((short) 42), // 권한 수정
|
UPDATE_ROLE((short) 42), // 권한 수정
|
||||||
DELETE_ROLE((short) 43); // 권한 삭제
|
DELETE_ROLE((short) 43); // 권한 삭제
|
||||||
|
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ public class UserController {
|
|||||||
String clientIp = ctx.getClientIp();
|
String clientIp = ctx.getClientIp();
|
||||||
|
|
||||||
userService.createUser(userInfo, regId);
|
userService.createUser(userInfo, regId);
|
||||||
systemEventLogService.writeCreatUserLog(regId, clientIp, userInfo);
|
systemEventLogService.writeCreateUserLog(regId, clientIp, userInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/excel")
|
@PostMapping("/excel")
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ public class SystemEventLogService {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeCreatUserLog(String regId, String clientIp, UserInfoDto userInfo){
|
public void writeCreateUserLog(String regId, String clientIp, UserInfoDto userInfo){
|
||||||
writeSystemLog(SystemEventType.CREAT_USER, "Create User", null, regId, clientIp, userInfo);
|
writeSystemLog(SystemEventType.CREATE_USER, "Create User", null, regId, clientIp, userInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeUploadUserLog(String regId, String clientIp, UploadUserContentDto content){
|
public void writeUploadUserLog(String regId, String clientIp, UploadUserContentDto content){
|
||||||
@@ -69,7 +69,7 @@ public class SystemEventLogService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void writeCreateProject(String regId, String clientIp, Long prjctIdx, ProjectCreateRequestDto req){
|
public void writeCreateProject(String regId, String clientIp, Long prjctIdx, ProjectCreateRequestDto req){
|
||||||
writeSystemLog(SystemEventType.CREAT_PROJECT, "Create Project", prjctIdx, regId, clientIp, req);
|
writeSystemLog(SystemEventType.CREATE_PROJECT, "Create Project", prjctIdx, regId, clientIp, req);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void writeUpdateProject(String regId, String clientIp, Long prjctIdx, ProjectUpdateRequestDto req){
|
public void writeUpdateProject(String regId, String clientIp, Long prjctIdx, ProjectUpdateRequestDto req){
|
||||||
|
|||||||
Reference in New Issue
Block a user