Commit 2e695069 authored by 赵啸非's avatar 赵啸非

添加统计日志

parent 7c39f29a
......@@ -199,6 +199,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
allStopWatch.start();
AccessStatLogEntity statLogAllEntity = new AccessStatLogEntity();
statLogAllEntity.initAttrValue();
statLogAllEntity.setCreateUserId(1L);
statLogAllEntity.setCreateTime(new Date());
statLogAllEntity.setSiteId(site.getId());
......@@ -210,6 +211,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
pjqStopWatch.start();
AccessStatLogEntity statLogEntity = new AccessStatLogEntity();
statLogEntity.initAttrValue();
statLogEntity.setCreateUserId(1L);
statLogEntity.setCreateTime(new Date());
statLogEntity.setSiteId(site.getId());
......
......@@ -192,6 +192,7 @@ public class PhQueueStatController extends BaseCRUDJsonBodyMappingController<PhQ
for (SitePdu site : sitePduList) {
stopWatch.start("站点排号统计开始");
AccessStatLogEntity statLogEntity = new AccessStatLogEntity();
statLogEntity.initAttrValue();
statLogEntity.setStatStartTime(new Date());
statLogEntity.setType(AccessTypeEnum.排队机.getValue());
statLogEntity.setCreateUserId(1L);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment