统计交易金额

This commit is contained in:
2026-04-30 07:26:17 +08:00
parent 97e90e2742
commit 1ee114756c
3 changed files with 276 additions and 1 deletions

View File

@@ -13,4 +13,10 @@ import java.util.Map;
*/
public interface ILbDailyUserTradeReportService extends IService<LbDailyUserTradeReport> {
Map<String, Object> calculateReportSumByDateAndTenant(LocalDate reportDate, String tenantId);
/**
* 按日期范围与租户统计每人四类金额(昨日买入、当日卖出、当日买入、差额):本人汇总与递归下级汇总。
*/
Map<String, Object> listUserTradeAmountWithTeamByDateRangeAndTenant(
LocalDate startDate, LocalDate endDate, String tenantId);
}