Commit dcbd0da6 by 111-PC\111

[+]pulsar消费服务

1 parent 469d69a7
......@@ -168,7 +168,9 @@ public class TuyaConmsumerService {
String Value = null;
//触发状态值,如果value没有值,则取ordervalue
if (deviceOrderCode.equals("va_temperature") || deviceOrderCode.equals("va_humidity")) {
if(StringUtils.isNotBlank(paramValue.getValue())) {
Value = Integer.parseInt(paramValue.getValue()) * 10 + "";
}
} else {
Value = paramValue.getValue();
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!