Commit b0a41911 by 111-PC\111

[+]代码规范

1 parent cc850705
......@@ -259,7 +259,7 @@ public class InfoService {
deviceRequest.setPlatformProductId(deviceEventRep.getProductKey());
deviceRequest.setChannel(1);
deviceRequest.setParentId(bizData.getParentDevId());
deviceRequest.setType(bizData.getParentDevId() == null ? 2 : 1);
deviceRequest.setType(bizData.getParentDevId() == null ? 1 : 2);
deviceRequest.setDeviceId(bizData.getDevId());
return deviceRequest;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!