HISTORYTYPE > HISTORYDETAILTYPE 변경
로그 유저 아닐시 시스템으로 남기게 변경 히스토리 남기는 방식 추가 적용 HistoryRequest 생성 히스토리 API 작업 히스토리 mongodb 조회
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.caliverse.admin.mongodb.domain;
|
||||
|
||||
import com.caliverse.admin.global.common.utils.DateUtils;
|
||||
import com.caliverse.admin.mongodb.entity.EActionType;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "apiLog")
|
||||
public class APILogInfo extends APILogInfoBase {
|
||||
public APILogInfo(EActionType actionType, String tranId, Object body) {
|
||||
super(DateUtils.nowDateTime(), actionType, tranId, body);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user