|
|
|
@ -388,6 +388,8 @@ public class SubController {
|
|
|
|
|
//被使用的订单数据实例化
|
|
|
|
|
plistOrdHis = new ArrayList<>();
|
|
|
|
|
// int intSlabCount = 0;
|
|
|
|
|
// 使用 AtomicInteger 替代 int 类型
|
|
|
|
|
AtomicInteger intSlabCount = new AtomicInteger(0);
|
|
|
|
|
//循环板坯
|
|
|
|
|
plistSlab.forEach(p -> {
|
|
|
|
|
|
|
|
|
@ -398,10 +400,10 @@ public class SubController {
|
|
|
|
|
subLog.setTenantId(organizationId);
|
|
|
|
|
|
|
|
|
|
String subLogStr = "";
|
|
|
|
|
// int intSlabCountAdd=intSlabCount;
|
|
|
|
|
logger.info("*************--板坯开始{}************* ", p.getSlabNo());
|
|
|
|
|
// 获取当前计数值
|
|
|
|
|
int intSlabCountAdd = intSlabCount.getAndIncrement();
|
|
|
|
|
|
|
|
|
|
// intSlabCount++;
|
|
|
|
|
logger.info("*************{}--板坯开始{}************* ",intSlabCountAdd, p.getSlabNo());
|
|
|
|
|
|
|
|
|
|
logger.info("***板坯信息:{} 厚宽长:{}*{}*{} 钢种:{} ", p.getSlabNo(), p.getSlabActThk(), p.getSlabActWid(), p.getSlabActLen(), p.getStNo());
|
|
|
|
|
//执行日志保存
|
|
|
|
|