From 14c14e667512e859fc33554339171417028f2e09 Mon Sep 17 00:00:00 2001 From: cl <418351270@qq.com> Date: 星期三, 14 八月 2024 13:37:27 +0800 Subject: [PATCH] 修改采集参数 --- jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java index 0e0fef3..9ecec9d 100644 --- a/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java +++ b/jcdm-main/src/main/java/com/jcdm/main/plcserver/sub/OPCUaSubscription.java @@ -438,10 +438,10 @@ //鏇存柊宸ュ崟鐘舵�佷负宸叉墽琛� LambdaUpdateWrapper<OmProductionOrdeInfo> updateWrapper = new LambdaUpdateWrapper<>(); updateWrapper.set(OmProductionOrdeInfo::getOrderStatus,orderStatus); - if(!materialCode.isEmpty()){ + if(!materialCode.isEmpty()){//涓婄嚎 updateWrapper.set(OmProductionOrdeInfo::getTrolleyYard,materialCode);//澹充綋鏉$爜 updateWrapper.set(OmProductionOrdeInfo::getActualStartTime,new Date());//寮�濮嬫椂闂� - }else{ + }else{//涓嬬嚎 updateWrapper.set(OmProductionOrdeInfo::getActualEndTime,new Date());//缁撴潫鏃堕棿 } updateWrapper.eq(OmProductionOrdeInfo::getProductNum,snCode); -- Gitblit v1.9.3