From dde24696af4740d758eeb46b077cab67d0416134 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期一, 16 十二月 2024 10:12:01 +0800
Subject: [PATCH] 实现临时任务功能:重新统计所有取水口月用水量和年用水量
---
pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/TkRtuData.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/TkRtuData.java b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/TkRtuData.java
index 97f3f12..9f38a74 100644
--- a/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/TkRtuData.java
+++ b/pipIrr-platform/pipIrr-mw/pipIrr-mw-rtu/src/main/java/com/dy/rtuMw/server/rtuData/TkRtuData.java
@@ -23,8 +23,11 @@
log.error("涓ラ噸閿欒锛孯TU涓婅鏁版嵁涓棤RTU鍦板潃锛�" );
}else{
String protocol = d.getProtocol() ;
+ Short pVer = d.getProtocolVer() ;
if(protocol == null || protocol.trim().equals("")){
log.error("涓ラ噸閿欒锛孯TU涓婅鏁版嵁涓棤鍗忚鍚嶇О锛�" );
+ }else if(pVer == null){
+ log.error("涓ラ噸閿欒锛孯TU涓婅鏁版嵁涓棤鍗忚鐗堟湰鍙凤紒" );
}else{
this.toNextTasks(data);
}
--
Gitblit v1.8.0