bug尝试修复
This commit is contained in:
@@ -236,9 +236,6 @@ public class IndustryMaterialController extends BaseController
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 开始异常轧制接口
|
||||
* 首先拿到道次最小的那个材料id
|
||||
@@ -293,4 +290,20 @@ public class IndustryMaterialController extends BaseController
|
||||
industryMaterialService.deleteIndustryMaterialByState(0L);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/clear-system")
|
||||
public void clearSystem(){
|
||||
redisCache.deleteObject("sort");
|
||||
redisCache.deleteObject("batchId");
|
||||
redisCache.deleteObject("leftId");
|
||||
redisCache.deleteObject("rightId");
|
||||
if ("1".equals(mode)){
|
||||
redisCache.deleteObject("materialLock");
|
||||
}
|
||||
s7PLC.writeString("DB4.30","\u0000\u0000\u0000\u0000");
|
||||
s7PLC.writeString("DB44.30","\u0000\u0000\u0000\u0000");
|
||||
industryMaterialService.deleteIndustryMaterialByState(1L);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user