debug: 时长电量变化记录类型修复

This commit is contained in:
墨大叔 2024-09-23 08:55:19 +08:00
parent f37bc4779a
commit 135ab05364

View File

@ -41,6 +41,7 @@ public class RecordTimeConverterImpl implements RecordTimeConverter {
record.setDeviceId(device == null ? null : device.getDeviceId());
record.setAmount(seconds);
record.setReason(reason);
record.setType(type);
if (user != null) {
record.setOperatorId(user.getUserId());
record.setOperatorName(user.getUserName());