Commit a97ccceb authored by 赵啸非's avatar 赵啸非

添加统计子站点

parent b90658f3
......@@ -69,7 +69,7 @@ public class PjEvaluateStatServiceImpl extends AbstractCRUDServiceImpl<PjEvaluat
List<PjEvaluateEntity> pjEvaluateEntities = pjEvaluateService.find(pjEvaluateQuery);
log.info("更新站点评价统计数据,站点ID:{},站点名称:{},日期:{},评价数量:{}", entity.getSiteId(), entity.getSiteName(), currentDate, pjEvaluateEntities.size());
// log.info("更新站点评价统计数据,站点ID:{},站点名称:{},日期:{},评价数量:{}", entity.getSiteId(), entity.getSiteName(), currentDate, pjEvaluateEntities.size());
updateSitePjCount(entity, pjEvaluateEntities);
updateSiteSectionNamePjCount(currentDate, entity, pjEvaluateEntities);
......
......@@ -288,13 +288,11 @@ public class PjEvaluateStatController extends BaseCRUDJsonBodyMappingController<
for (int i = 0; i <= compare.intValue(); i++) {
DateTime curDate = DateUtil.offsetDay(attendStart, i);
log.info("记录日期:{}", curDate.toDateStr());
PjEvaluateStatEntity sitestatEntity = new PjEvaluateStatEntity();
sitestatEntity.initAttrValue();
sitestatEntity.setSiteId(site.getId());
sitestatEntity.setSiteName(site.getSiteName());
sitestatEntity.setSiteCode(site.getSiteCode());
sitestatEntity.setYear(curDate.year());
sitestatEntity.setMonth(curDate.month() + 1);
sitestatEntity.setDay(curDate.dayOfMonth());
......
......@@ -47,8 +47,8 @@ POST {{baseUrl}}/pj/evaluate/stat/stat
Content-Type: application/json
{
"pjTimeStart": "2024-01-01",
"pjTimeEnd": "2024-07-26"
"pjTimeStart": "2023-01-01",
"pjTimeEnd": "2024-07-29"
}
###排队
......@@ -56,7 +56,7 @@ POST {{baseUrl}}/ph/queue/stat/stat
Content-Type: application/json
{
"taketimeStart": "2024-01-01",
"taketimeStart": "2023-01-01",
"taketimeEnd": "2024-07-26"
}
......
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