vince
2024-06-14 a230c790107e4be5743473849bbc9aeb93583ddd
修改地磅报文
已修改2个文件
5 ■■■■■ 文件已修改
src/main/java/com/fzzy/gateway/hx2023/service/DeviceReportServiceImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/gateway/hx2023/service/ScGatewayTestServiceImpl.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/gateway/hx2023/service/DeviceReportServiceImpl.java
@@ -108,7 +108,7 @@
            weightInfo.setNetWeight(reqData.getWeight());
            weightInfo.setWeightUnit("KG");
            JSONObject jsonObject = new JSONObject();
            jsonObject.put("weightInfo", weightInfo);
            jsonObject.put("weightInfo", JSON.toJSONString(weightInfo));
            packet.setProperties(jsonObject);
src/main/java/com/fzzy/gateway/hx2023/service/ScGatewayTestServiceImpl.java
@@ -1,5 +1,6 @@
package com.fzzy.gateway.hx2023.service;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.fzzy.api.data.DepotType;
import com.fzzy.api.data.GatewayDeviceType;
@@ -220,7 +221,7 @@
        weightInfo.setWeightUnit("KG");
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("weightInfo", weightInfo);
        jsonObject.put("weightInfo", JSON.toJSONString(weightInfo));
        packet.setProperties(jsonObject);