Merge branch 'ext-dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into ext-dev

yun-zuoyi
castle.zang 4 years ago
commit f5f83b9628

@ -25,7 +25,7 @@ public class BeanRelation {
private static Map<Long, BeanRelation> relations = new ConcurrentHashMap<>(); private static Map<Long, BeanRelation> relations = new ConcurrentHashMap<>();
private static BeanRelation get() { private static BeanRelation get() {
Long userId = 0l; Long userId = 0L;
BeanRelation relation = relations.get(userId); BeanRelation relation = relations.get(userId);
if (relation == null) { if (relation == null) {
synchronized (BeanRelation.class) { synchronized (BeanRelation.class) {
@ -383,6 +383,14 @@ public class BeanRelation {
} }
/** /**
*
* @param bean
*/
public static void erase(BaseBean bean) {
get().caches.get(bean.getClass()).remove(bean.getId());
}
/**
* lambdalambdafalse退 * lambdalambdafalse退
* @param bean * @param bean
* @param fun * @param fun

@ -3,6 +3,7 @@ package cn.estsh.i3plus.pojo.aps.model;
import cn.estsh.i3plus.pojo.aps.bean.FurnacePlan; import cn.estsh.i3plus.pojo.aps.bean.FurnacePlan;
import cn.estsh.i3plus.pojo.aps.bean.Resource; import cn.estsh.i3plus.pojo.aps.bean.Resource;
import cn.estsh.i3plus.pojo.aps.bean.WorkPlan; import cn.estsh.i3plus.pojo.aps.bean.WorkPlan;
import cn.estsh.i3plus.pojo.aps.bean.WorkResource;
import lombok.Data; import lombok.Data;
/** /**
@ -23,6 +24,10 @@ public class PlanRecord {
*/ */
private Resource resource; private Resource resource;
/** /**
*
*/
private WorkResource workResource;
/**
* *
*/ */
private WorkPlan postPlan; private WorkPlan postPlan;

Loading…
Cancel
Save