From 47b716f76e16295a684d2634a5bd245c0e59aa3c Mon Sep 17 00:00:00 2001
From: YYC <1833023622@qq.com>
Date: 星期一, 09 十月 2023 14:38:36 +0800
Subject: [PATCH] 熏蒸备案页面修改
---
igds-protocol-bhzn/src/main/java/com/ld/igds/protocol/bhzn/grainv1/RemoteGrainV1ServiceImpl.java | 24 ++++++++++++++++++++++--
1 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/igds-protocol-bhzn/src/main/java/com/ld/igds/protocol/bhzn/grainv1/RemoteGrainV1ServiceImpl.java b/igds-protocol-bhzn/src/main/java/com/ld/igds/protocol/bhzn/grainv1/RemoteGrainV1ServiceImpl.java
index 16be4b2..1000c64 100644
--- a/igds-protocol-bhzn/src/main/java/com/ld/igds/protocol/bhzn/grainv1/RemoteGrainV1ServiceImpl.java
+++ b/igds-protocol-bhzn/src/main/java/com/ld/igds/protocol/bhzn/grainv1/RemoteGrainV1ServiceImpl.java
@@ -37,8 +37,28 @@
public GrainResponse checkGrain(CheckGrainRequest request) {
try {
// 鐢熸垚绮儏淇℃伅
- String hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), request.getDepotId());
-
+ String hexStr = "";
+ if("5323".equals(request.getCompanyId())){
+ if("0P01".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "1");
+ }else if("0P02".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "1");
+ }else if("0P03".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "2");
+ }else if("0P04".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "2");
+ }else if("0P05".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "3");
+ }else if("0P06".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "4");
+ }else if("0P07".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "4");
+ }else if("0P08".equals(request.getDepotId())){
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), "4");
+ }
+ }else{
+ hexStr = CommandBuild.getInstance().getMsgCheck(request.getSerId(), request.getDepotId());
+ }
// //閫氳浣跨敤鐨勬槸涓绘満閫氳
// DeviceSer mainSer = coreSerService.getCacheSer(ContextUtil.getDefaultCompanyId(), BhznGrainV1ServerUtils.DEFAULT_MAC_ID);
--
Gitblit v1.9.3