item dw batch 추가
게임로그 아이템 조회 API 게임로그 재화(아이템) 조회 API 엑셀 export 예외 필드 추가
This commit is contained in:
@@ -0,0 +1,56 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "currency")
|
||||
public class CurrencyItemLogInfo extends LogInfoBase{
|
||||
private String id;
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String tranId;
|
||||
private String action;
|
||||
private String logTime;
|
||||
private String currencyType;
|
||||
private String amountDeltaType;
|
||||
private Double deltaAmount;
|
||||
private Double currencyAmount;
|
||||
private String itemIDs;
|
||||
|
||||
public CurrencyItemLogInfo(String id,
|
||||
String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
String tranId,
|
||||
String action,
|
||||
String logTime,
|
||||
String currencyType,
|
||||
String amountDeltaType,
|
||||
Double deltaAmount,
|
||||
Double currencyAmount,
|
||||
String itemIDs
|
||||
) {
|
||||
super(StatisticsType.CURRENCY);
|
||||
|
||||
this.id = id;
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.tranId = tranId;
|
||||
this.action = action;
|
||||
this.logTime = logTime;
|
||||
this.currencyType = currencyType;
|
||||
this.amountDeltaType = amountDeltaType;
|
||||
this.deltaAmount = deltaAmount;
|
||||
this.currencyAmount = currencyAmount;
|
||||
this.itemIDs = itemIDs;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "item")
|
||||
public class ItemDetailLogInfo extends LogInfoBase{
|
||||
private String id;
|
||||
private String logDay;
|
||||
private String logTime;
|
||||
private String accountId;
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private String tranId;
|
||||
private String action;
|
||||
private Integer itemId;
|
||||
private String itemName;
|
||||
private String itemTypeLarge;
|
||||
private String itemTypeSmall;
|
||||
private String countDeltaType;
|
||||
private Integer deltaCount;
|
||||
private Integer stackCount;
|
||||
|
||||
public ItemDetailLogInfo(String id,
|
||||
String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
String tranId,
|
||||
String action,
|
||||
String logTime,
|
||||
Integer itemId,
|
||||
String itemName,
|
||||
String itemTypeLarge,
|
||||
String itemTypeSmall,
|
||||
String countDeltaType,
|
||||
Integer deltaCount,
|
||||
Integer stackCount
|
||||
) {
|
||||
super(StatisticsType.ITEM);
|
||||
|
||||
this.id = id;
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.tranId = tranId;
|
||||
this.action = action;
|
||||
this.logTime = logTime;
|
||||
this.itemId = itemId;
|
||||
this.itemName = itemName;
|
||||
this.itemTypeLarge = itemTypeLarge;
|
||||
this.itemTypeSmall = itemTypeSmall;
|
||||
this.countDeltaType = countDeltaType;
|
||||
this.deltaCount = deltaCount;
|
||||
this.stackCount = stackCount;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.caliverse.admin.Indicators.entity;
|
||||
|
||||
import com.caliverse.admin.logs.Indicatordomain.ItemMongoLog;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.data.mongodb.core.mapping.Document;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@Document(collection = "item")
|
||||
public class ItemLogInfo extends LogInfoBase{
|
||||
private String logDay;
|
||||
private String accountId;
|
||||
private String userGuid;
|
||||
private String userNickname;
|
||||
private Integer totalItems;
|
||||
private List<ItemMongoLog.ItemDetail> itemDetails;
|
||||
private List<ItemMongoLog.ItemTypeLargeStat> itemTypeLargeStats;
|
||||
|
||||
public ItemLogInfo(String logDay,
|
||||
String accountId,
|
||||
String userGuid,
|
||||
String userNickname,
|
||||
Integer totalItems,
|
||||
List<ItemMongoLog.ItemDetail> itemDetails,
|
||||
List<ItemMongoLog.ItemTypeLargeStat> itemTypeLargeStats
|
||||
) {
|
||||
super(StatisticsType.ITEM);
|
||||
|
||||
this.logDay = logDay;
|
||||
this.accountId = accountId;
|
||||
this.userGuid = userGuid;
|
||||
this.userNickname = userNickname;
|
||||
this.totalItems = totalItems;
|
||||
this.itemDetails = itemDetails;
|
||||
this.itemTypeLargeStats = itemTypeLargeStats;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -17,7 +17,8 @@ public enum StatisticsType {
|
||||
MONEY,
|
||||
USER_CREATE,
|
||||
USER_LOGIN,
|
||||
CURRENCY
|
||||
CURRENCY,
|
||||
ITEM
|
||||
;
|
||||
|
||||
public static StatisticsType getStatisticsType(String type) {
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.caliverse.admin.Indicators.indicatorrepository;
|
||||
|
||||
import com.caliverse.admin.Indicators.entity.ItemLogInfo;
|
||||
import org.springframework.data.mongodb.repository.MongoRepository;
|
||||
|
||||
public interface IndicatorItemRepository extends MongoRepository<ItemLogInfo, String> {
|
||||
}
|
||||
Reference in New Issue
Block a user