This commit is contained in:
磷叶 2025-04-19 17:44:49 +08:00
parent 3f6797fa9f
commit bef43caee5
2 changed files with 8 additions and 2 deletions

View File

@ -27,6 +27,8 @@ public class UserConverterImpl implements UserConverter {
vo.setSex(data.getSex());
vo.setAvatar(data.getAvatar());
vo.setStatus(data.getStatus());
vo.setWithdrawServiceType(data.getWithdrawServiceType());
vo.setWithdrawServiceValue(data.getWithdrawServiceValue());
return vo;
}
@ -49,6 +51,8 @@ public class UserConverterImpl implements UserConverter {
vo.setSex(data.getSex());
vo.setAvatar(data.getAvatar());
vo.setStatus(data.getStatus());
vo.setWithdrawServiceType(data.getWithdrawServiceType());
vo.setWithdrawServiceValue(data.getWithdrawServiceValue());
return vo;
}

View File

@ -7,6 +7,8 @@ import com.ruoyi.bst.device.service.DeviceIotService;
import lombok.extern.slf4j.Slf4j;
import java.util.ArrayList;
@Component
@Slf4j
public class DeviceTask {
@ -16,7 +18,7 @@ public class DeviceTask {
// 监控所有设备
public void monitorAll() {
deviceIotService.monitor(null);
deviceIotService.monitor(new ArrayList<>());
}
}