mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 05:12:07 +08:00
同一日数据统计自动扩展为当天的0点~23点59分59秒:1、账户总额趋势;2、管理端分析页账户数量/组织数量/账户资金;
This commit is contained in:
+3
@@ -7,6 +7,7 @@ import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 通用统计 ReqVO
|
||||
@@ -19,6 +20,8 @@ public class CommonStatisticsReqVO {
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate[] createTime;
|
||||
|
||||
private LocalDateTime[] createTimeForQry = null;
|
||||
|
||||
/**
|
||||
* 统计维度单位
|
||||
*/
|
||||
|
||||
+1
-1
@@ -118,7 +118,7 @@ public class StatisticsChangeUtils {
|
||||
Integer unit = reqVO.getUnit();
|
||||
// 计算时间跨度
|
||||
getTimeSpan(reqVO);
|
||||
// 计算后的开始和结束时间
|
||||
// 计算后的开始和结束时间
|
||||
LocalDate startDate = ObjectUtil.clone(reqVO.getCreateTime()[0]);
|
||||
LocalDate endDate = ObjectUtil.clone(reqVO.getCreateTime()[1]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user