diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/record/time/service/impl/RecordTimeConverterImpl.java b/smart-switch-service/src/main/java/com/ruoyi/ss/record/time/service/impl/RecordTimeConverterImpl.java index b68532d0..95b2337e 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/record/time/service/impl/RecordTimeConverterImpl.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/record/time/service/impl/RecordTimeConverterImpl.java @@ -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());