From f15b4feb486a85dcc3b9b5c68a8526957a6ad0bd Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期六, 18 十一月 2023 16:53:24 +0800
Subject: [PATCH] 调整车牌识别配置3

---
 src/main/java/com/fzzy/protocol/sdkhk/common/LPRCallBask_V31.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/fzzy/protocol/sdkhk/common/LPRCallBask_V31.java b/src/main/java/com/fzzy/protocol/sdkhk/common/LPRCallBask_V31.java
index 8b7246a..7e9e557 100644
--- a/src/main/java/com/fzzy/protocol/sdkhk/common/LPRCallBask_V31.java
+++ b/src/main/java/com/fzzy/protocol/sdkhk/common/LPRCallBask_V31.java
@@ -61,8 +61,9 @@
                     if (StringUtils.isNotEmpty(deviceIp)) deviceIp = deviceIp.trim();
 
 
-                    log.info("杞︾墝鍙凤細" + sLicense + ":杞﹁締绫诲瀷锛�" + VehicleType + ":鐩戞帶鐐圭紪鍙凤細" + MonitoringSiteID + "-璁惧IP=" + deviceIp + "-SN=" + deviceSn);
+                    //log.info("杞︾墝鍙凤細" + sLicense + ":杞﹁締绫诲瀷锛�" + VehicleType + ":鐩戞帶鐐圭紪鍙凤細" + MonitoringSiteID + "-璁惧IP=" + deviceIp + "-SN=" + deviceSn);
 
+                    log.info("杞︾墝鍙凤細" + sLicense + ":杞﹁締绫诲瀷锛�" + VehicleType + "-璁惧IP=" + deviceIp + "-SN=" + deviceSn);
 
                     //寮�濮嬫墽琛屾帹閫�
                     GatewayDevice device = GatewayUtils.getCacheByDeviceSn(deviceSn);
@@ -77,6 +78,10 @@
 
                     //鏁版嵁灏佽鎺ㄩ��
                     BaseReqData reqData = new BaseReqData(device);
+
+                    if (sLicense.startsWith("钃�") || sLicense.startsWith("榛�")) {
+                        sLicense = sLicense.replace("钃�", "").replace("榛�", "");
+                    }
                     reqData.setCarNumber(sLicense);
                     gatewayRemoteManager.getDeviceReportService(device.getPushProtocol()).reportLprData(reqData);
 

--
Gitblit v1.9.3