修复四车间问题

yun-zuoyi
钮海涛 4 years ago
parent 4ffff9e3df
commit 98cfaf0db2

@ -25,7 +25,7 @@ public class BeanRelation {
private static Map<Long, BeanRelation> relations = new ConcurrentHashMap<>();
private static BeanRelation get() {
Long userId = 0l;
Long userId = 0L;
BeanRelation relation = relations.get(userId);
if (relation == null) {
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退
* @param bean
* @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.Resource;
import cn.estsh.i3plus.pojo.aps.bean.WorkPlan;
import cn.estsh.i3plus.pojo.aps.bean.WorkResource;
import lombok.Data;
/**
@ -23,6 +24,10 @@ public class PlanRecord {
*/
private Resource resource;
/**
*
*/
private WorkResource workResource;
/**
*
*/
private WorkPlan postPlan;

Loading…
Cancel
Save