feat: 补充ap设备信息
This commit is contained in:
@@ -3,6 +3,7 @@ package org.wfc.job.task;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.wfc.system.api.RemoteUserService;
|
||||
import org.wfc.user.api.RemoteUUserService;
|
||||
|
||||
/**
|
||||
@@ -17,9 +18,14 @@ public class CdrInfoTask {
|
||||
@Autowired
|
||||
private RemoteUUserService remoteUUserService;
|
||||
|
||||
@Autowired
|
||||
private RemoteUserService remoteUserService;
|
||||
|
||||
public void addCdrInfo() {
|
||||
log.info("开始执行话单信息任务");
|
||||
long startTime = System.currentTimeMillis();
|
||||
remoteUUserService.addCdrInfoByOmadaApi();
|
||||
log.info("话单信息任务执行成功");
|
||||
remoteUserService.deviceJob();
|
||||
long endTime = System.currentTimeMillis();
|
||||
log.info("wifi定时任务执行成功, 耗时:{} 毫秒", endTime - startTime);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user