Commit 9e135206 authored by 赵啸非's avatar 赵啸非

添加首页统计模块

parent 50b30af7
......@@ -193,7 +193,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
PageInfo pageInfo = new PageInfo();
pageInfo.setPrePageResult(-1);
StatQuery statThirtyQuery = new StatQuery();
statThirtyQuery.setTimeStart(DateUtil.offsetDay(new Date(), 30).toDateStr());
statThirtyQuery.setTimeStart(DateUtil.offsetDay(new Date(), -30).toDateStr());
statThirtyQuery.setTimeEnd(DateUtil.today());
statThirtyQuery.setGroupList(Arrays.asList("year", "month", "day"));
List<StatEntity> thirtyStatList = statService.find(statThirtyQuery, pageInfo, getContext()).getList();
......@@ -209,7 +209,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
PageInfo pageInfo = new PageInfo();
pageInfo.setPrePageResult(-1);
PhQueueStatQuery statThirtyQuery = new PhQueueStatQuery();
statThirtyQuery.setTimeStart(DateUtil.offsetDay(new Date(), 30).toDateStr());
statThirtyQuery.setTimeStart(DateUtil.offsetDay(new Date(), -30).toDateStr());
statThirtyQuery.setTimeEnd(DateUtil.today());
statThirtyQuery.setGroupList(Arrays.asList("year", "month", "day"));
List<PhQueueStatEntity> thirtyStatList = phQueueStatService.find(statThirtyQuery, pageInfo, getContext()).getList();
......@@ -225,7 +225,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
PageInfo pageInfo = new PageInfo();
pageInfo.setPrePageResult(-1);
PjEvaluateStatQuery statThirtyQuery = new PjEvaluateStatQuery();
statThirtyQuery.setTimeStart(DateUtil.offsetDay(new Date(), 30).toDateStr());
statThirtyQuery.setTimeStart(DateUtil.offsetDay(new Date(), -30).toDateStr());
statThirtyQuery.setTimeEnd(DateUtil.today());
statThirtyQuery.setGroupList(Arrays.asList("year", "month", "day"));
List<PjEvaluateStatEntity> thirtyStatList = pjEvaluateStatService.find(statThirtyQuery, pageInfo, getContext()).getList();
......
......@@ -19,13 +19,13 @@ Content-Type: application/json
{
"timeStart": "2023-04-01",
"timeEnd": "2023-05-03",
"timeEnd": "2024-07-04",
"siteId": 1,
"sectionNameNotList": [""],
"groupList": ["year","month","day"],
"page": 1,
"size": 20
"size": 100
}
......
......@@ -48,7 +48,7 @@ Content-Type: application/json
{
"pjTimeStart": "2023-04-01",
"pjTimeEnd": "2023-05-03"
"pjTimeEnd": "2024-07-04"
}
###排队
......@@ -57,7 +57,7 @@ Content-Type: application/json
{
"taketimeStart": "2023-04-01",
"taketimeEnd": "2023-06-01"
"taketimeEnd": "2024-07-04"
}
......@@ -67,7 +67,7 @@ Content-Type: application/json
{
"createTimeStart": "2023-04-01",
"createTimeEnd": "2023-05-01"
"createTimeEnd": "2024-07-4"
}
......
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