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

添加统计日志

parent 7c39f29a
...@@ -199,6 +199,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService { ...@@ -199,6 +199,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
allStopWatch.start(); allStopWatch.start();
AccessStatLogEntity statLogAllEntity = new AccessStatLogEntity(); AccessStatLogEntity statLogAllEntity = new AccessStatLogEntity();
statLogAllEntity.initAttrValue();
statLogAllEntity.setCreateUserId(1L); statLogAllEntity.setCreateUserId(1L);
statLogAllEntity.setCreateTime(new Date()); statLogAllEntity.setCreateTime(new Date());
statLogAllEntity.setSiteId(site.getId()); statLogAllEntity.setSiteId(site.getId());
...@@ -210,6 +211,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService { ...@@ -210,6 +211,7 @@ public class SiteStatTaskImpl implements ITaskExcuteService {
pjqStopWatch.start(); pjqStopWatch.start();
AccessStatLogEntity statLogEntity = new AccessStatLogEntity(); AccessStatLogEntity statLogEntity = new AccessStatLogEntity();
statLogEntity.initAttrValue();
statLogEntity.setCreateUserId(1L); statLogEntity.setCreateUserId(1L);
statLogEntity.setCreateTime(new Date()); statLogEntity.setCreateTime(new Date());
statLogEntity.setSiteId(site.getId()); statLogEntity.setSiteId(site.getId());
......
...@@ -192,6 +192,7 @@ public class PhQueueStatController extends BaseCRUDJsonBodyMappingController<PhQ ...@@ -192,6 +192,7 @@ public class PhQueueStatController extends BaseCRUDJsonBodyMappingController<PhQ
for (SitePdu site : sitePduList) { for (SitePdu site : sitePduList) {
stopWatch.start("站点排号统计开始"); stopWatch.start("站点排号统计开始");
AccessStatLogEntity statLogEntity = new AccessStatLogEntity(); AccessStatLogEntity statLogEntity = new AccessStatLogEntity();
statLogEntity.initAttrValue();
statLogEntity.setStatStartTime(new Date()); statLogEntity.setStatStartTime(new Date());
statLogEntity.setType(AccessTypeEnum.排队机.getValue()); statLogEntity.setType(AccessTypeEnum.排队机.getValue());
statLogEntity.setCreateUserId(1L); 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