Commit b7f2f30b by 杨林龙

开发 1.12.0 版本 优化调频记录发送

1 parent 6dd8960d
...@@ -1794,11 +1794,9 @@ public class VehicleService extends AbstractCommonService { ...@@ -1794,11 +1794,9 @@ public class VehicleService extends AbstractCommonService {
deviceFreqMapper.insert(df); deviceFreqMapper.insert(df);
String url = PropertiesUtils.getProperty("bsj.adjFreq.location"); String url = PropertiesUtils.getProperty("bsj.adjFreq.location");
Map<String, String> params = new HashMap<>(); Map<String, String> params = new HashMap<>();
List<DeviceFreq> freqs = deviceFreqMapper.selectBySn(model.getSn());
DeviceFreq freq = freqs.get(0);
params.put("DeviceNO", model.getSn()); params.put("DeviceNO", model.getSn());
params.put("FacID", Constants.BSJ_FACTORY_ID); params.put("FacID", Constants.BSJ_FACTORY_ID);
params.put("Seq", String.valueOf(freq.getId())); params.put("Seq", String.valueOf(df.getId()));
params.put("PosRepInfo", value); params.put("PosRepInfo", value);
log.info("调频参数为:" + params.toString()); log.info("调频参数为:" + params.toString());
String result = null; String result = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!