干掉 LogHashMap
parent
f81cfe230d
commit
c6997d8f1a
|
|
@ -14,8 +14,8 @@ import com.ljsd.common.mogodb.dblog.*;
|
||||||
|
|
||||||
public final class ActivityMission extends MongoBase {
|
public final class ActivityMission extends MongoBase {
|
||||||
private HashMap<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo> activityMissionMap = new HashMap<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo>();
|
private HashMap<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo> activityMissionMap = new HashMap<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo>();
|
||||||
@Transient
|
// @Transient
|
||||||
private LogHashMap<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo, Map<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo>> activityMissionMapLog ;
|
// private LogHashMap<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo, Map<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo>> activityMissionMapLog ;
|
||||||
private int activityState;
|
private int activityState;
|
||||||
private int openType;
|
private int openType;
|
||||||
private int v;
|
private int v;
|
||||||
|
|
@ -40,9 +40,9 @@ public final class ActivityMission extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo> getActivityMissionMap() {
|
public Map<Integer, com.ljsd.jieling.jbean.ActivityProgressInfo> getActivityMissionMap() {
|
||||||
if( null == activityMissionMapLog && activityMissionMap != null)
|
// if( null == activityMissionMapLog && activityMissionMap != null)
|
||||||
activityMissionMapLog = new LogHashMap( this,"activityMissionMap",activityMissionMap);
|
// activityMissionMapLog = new LogHashMap( this,"activityMissionMap",activityMissionMap);
|
||||||
return this.activityMissionMapLog;
|
return activityMissionMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getActivityState() {
|
public int getActivityState() {
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@ import com.ljsd.common.mogodb.dblog.*;
|
||||||
|
|
||||||
public final class LuckWheelMission extends MongoBase {
|
public final class LuckWheelMission extends MongoBase {
|
||||||
private HashMap<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo> posInfoMap = new HashMap<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo>();
|
private HashMap<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo> posInfoMap = new HashMap<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo>();
|
||||||
@Transient
|
// @Transient
|
||||||
private LogHashMap<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo, Map<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo>> posInfoMapLog ;
|
// private LogHashMap<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo, Map<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo>> posInfoMapLog ;
|
||||||
private int refreshTime;
|
private int refreshTime;
|
||||||
|
|
||||||
public LuckWheelMission() {
|
public LuckWheelMission() {
|
||||||
|
|
@ -27,9 +27,9 @@ public final class LuckWheelMission extends MongoBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo> getPosInfoMap() {
|
public Map<Integer, com.ljsd.jieling.jbean.LuckWheelPosInfo> getPosInfoMap() {
|
||||||
if( null == posInfoMapLog && posInfoMap != null)
|
// if( null == posInfoMapLog && posInfoMap != null)
|
||||||
posInfoMapLog = new LogHashMap( this,"posInfoMap",posInfoMap);
|
// posInfoMapLog = new LogHashMap( this,"posInfoMap",posInfoMap);
|
||||||
return this.posInfoMapLog;
|
return posInfoMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getRefreshTime() {
|
public int getRefreshTime() {
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,12 @@
|
||||||
package com.ljsd.jieling.jbean;
|
package com.ljsd.jieling.jbean;
|
||||||
|
|
||||||
import com.ljsd.common.mogodb.MongoBase;
|
import com.ljsd.common.mogodb.MongoBase;
|
||||||
import java.util.Map;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Set;
|
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.LinkedList;
|
|
||||||
import org.springframework.data.annotation.Transient;
|
|
||||||
import com.ljsd.common.mogodb.dblog.*;
|
|
||||||
|
|
||||||
public final class PropertyItem extends MongoBase {
|
public final class PropertyItem extends MongoBase {
|
||||||
private String id;
|
private String id;
|
||||||
private int equipId;
|
private int equipId;
|
||||||
private int level;
|
private int level;
|
||||||
private String heroId;
|
private String heroId;
|
||||||
private HashMap<Integer, Integer> propertyValueByIdMap = new HashMap<Integer, Integer>(); // 主属性 key 对应PropertyConfig id
|
|
||||||
@Transient
|
|
||||||
private LogHashMap<Integer, Integer, Map<Integer, Integer>> propertyValueByIdMapLog ;
|
|
||||||
private HashMap<Integer, Integer> secondValueByIdMap = new HashMap<Integer, Integer>(); // //副属性
|
|
||||||
@Transient
|
|
||||||
private LogHashMap<Integer, Integer, Map<Integer, Integer>> secondValueByIdMapLog ;
|
|
||||||
private int createTime;
|
private int createTime;
|
||||||
private int skill;
|
private int skill;
|
||||||
private int isLocked;
|
private int isLocked;
|
||||||
|
|
@ -34,10 +20,6 @@ public final class PropertyItem extends MongoBase {
|
||||||
this.equipId = _o_.equipId;
|
this.equipId = _o_.equipId;
|
||||||
this.level = _o_.level;
|
this.level = _o_.level;
|
||||||
this.heroId = _o_.heroId;
|
this.heroId = _o_.heroId;
|
||||||
this.propertyValueByIdMap = new HashMap<Integer, Integer>();
|
|
||||||
_o_.propertyValueByIdMap.forEach((_k_, _v_) -> this.propertyValueByIdMap.put(_k_, _v_));
|
|
||||||
this.secondValueByIdMap = new HashMap<Integer, Integer>();
|
|
||||||
_o_.secondValueByIdMap.forEach((_k_, _v_) -> this.secondValueByIdMap.put(_k_, _v_));
|
|
||||||
this.createTime = _o_.createTime;
|
this.createTime = _o_.createTime;
|
||||||
this.skill = _o_.skill;
|
this.skill = _o_.skill;
|
||||||
this.isLocked = _o_.isLocked;
|
this.isLocked = _o_.isLocked;
|
||||||
|
|
@ -59,18 +41,6 @@ public final class PropertyItem extends MongoBase {
|
||||||
return this.heroId;
|
return this.heroId;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Map<Integer, Integer> getPropertyValueByIdMap() { // 主属性 key 对应PropertyConfig id
|
|
||||||
if( null == propertyValueByIdMapLog && propertyValueByIdMap != null)
|
|
||||||
propertyValueByIdMapLog = new LogHashMap( this,"propertyValueByIdMap",propertyValueByIdMap);
|
|
||||||
return this.propertyValueByIdMapLog;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Map<Integer, Integer> getSecondValueByIdMap() { // //副属性
|
|
||||||
if( null == secondValueByIdMapLog && secondValueByIdMap != null)
|
|
||||||
secondValueByIdMapLog = new LogHashMap( this,"secondValueByIdMap",secondValueByIdMap);
|
|
||||||
return this.secondValueByIdMapLog;
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getCreateTime() {
|
public int getCreateTime() {
|
||||||
return this.createTime;
|
return this.createTime;
|
||||||
}
|
}
|
||||||
|
|
@ -127,8 +97,6 @@ public final class PropertyItem extends MongoBase {
|
||||||
_sb_.append(this.equipId).append(",");
|
_sb_.append(this.equipId).append(",");
|
||||||
_sb_.append(this.level).append(",");
|
_sb_.append(this.level).append(",");
|
||||||
_sb_.append("T").append(this.heroId.length()).append(",");
|
_sb_.append("T").append(this.heroId.length()).append(",");
|
||||||
_sb_.append(this.propertyValueByIdMap).append(",");
|
|
||||||
_sb_.append(this.secondValueByIdMap).append(",");
|
|
||||||
_sb_.append(this.createTime).append(",");
|
_sb_.append(this.createTime).append(",");
|
||||||
_sb_.append(this.skill).append(",");
|
_sb_.append(this.skill).append(",");
|
||||||
_sb_.append(this.isLocked).append(",");
|
_sb_.append(this.isLocked).append(",");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue