Commit 48a957e9 by 111-PC\111

[+]pulsar消费服务

1 parent 04ae6217
...@@ -162,13 +162,13 @@ public class InfoService { ...@@ -162,13 +162,13 @@ public class InfoService {
log.info("JSON解析异常:ScenseParamValue====" + e.getMessage() + "===conditionId:" + condition.getId()); log.info("JSON解析异常:ScenseParamValue====" + e.getMessage() + "===conditionId:" + condition.getId());
return false; return false;
} }
log.info("JSON转化后参数{}",paramValue);
//参数一,设备id //参数一,设备id
String deviceId = paramValue.getSelect(); String deviceId = paramValue.getSelect();
//参数二,设备指令 //参数二,设备指令
String deviceOrderCode = paramValue.getOrder(); String deviceOrderCode = paramValue.getOrder();
//参数三,逻辑(1:<,2:>,3:=) //参数三,逻辑(1:<,2:>,3:=)
int logic = Integer.parseInt(paramValue.getOrderCondition()); int logic = Integer.parseInt(paramValue.getOrderCondition());
log.info("JSON转化后参数{}",paramValue);
//参数四,值 //参数四,值
SmartDevideStatus smartDevideStatus = smartDevideStatusMapper.findDevStatusByIdAndCode(deviceId, deviceOrderCode); SmartDevideStatus smartDevideStatus = smartDevideStatusMapper.findDevStatusByIdAndCode(deviceId, deviceOrderCode);
if (smartDevideStatus == null) { if (smartDevideStatus == null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!