|
@@ -261,6 +261,11 @@ public class CacheRobotStrategy implements RobotStrategy {
|
|
|
msgUtil.redis_set(DemoCacheKey.YUNJIAN_CAMP + "_" + DemoLineConstant.YUNJIAN_TARGET_STORE + taskNode.getId(), targetStorge, 10, TimeUnit.DAYS);
|
|
|
} else {
|
|
|
//目标是线边库
|
|
|
+ Object xbkFlag = msgUtil.redis_get(DemoCacheKey.YUNJIAN_CAMP + "_" + DemoLineConstant.YUNJIAN_TARGET_HCW_XBK_FLAG + taskNode.getId());
|
|
|
+ if(ObjectUtil.isNotEmpty(xbkFlag) && targetXbk.equals("1")){
|
|
|
+ returnMap.put("result", false);
|
|
|
+ return returnMap;
|
|
|
+ }
|
|
|
msgUtil.redis_set(DemoCacheKey.YUNJIAN_CAMP + "_" + DemoLineConstant.YUNJIAN_TARGET_XBK_FLAG + taskNode.getId(), targetXbk, 10, TimeUnit.DAYS);
|
|
|
returnMap.put(YunjianConstant.YUNJIAN_XBKFLAG, "1");
|
|
|
returnMap.remove(taskNode.getId().toString()+"count");
|