Commit 700b39d7 by 111-PC\111

[+]代码规范

1 parent b0a41911
......@@ -259,7 +259,11 @@ public class InfoService {
deviceRequest.setPlatformProductId(deviceEventRep.getProductKey());
deviceRequest.setChannel(1);
deviceRequest.setParentId(bizData.getParentDevId());
deviceRequest.setType(bizData.getParentDevId() == null ? 1 : 2);
if(("uylvjbk8ao1nrfjb").equals(deviceEventRep.getProductKey())){
deviceRequest.setType(bizData.getParentDevId() == null ? 1 : 2);
}else{
deviceRequest.setType(1);
}
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!