Commit 9c17576f by 111-PC\111

[+]kafka消费数据修改

1 parent 9536124e
......@@ -78,6 +78,7 @@ public class ProtobufConvert {
return null;
}
Event event = new Event();
LOGGER.info("离家数据推送,设备号{}"+String.valueOf(protobufFlameOut.getSn()));
event.setSn(String.valueOf(protobufFlameOut.getSn()));
event.setDeviceType(Constants.MACHINE_LEAVE_ORDER);
event.setTime(DateUtils.parseDate(DateUtils.parseTimeStampDate(protobufFlameOut.getTriggerTime())));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!