数据统计

This commit is contained in:
Tankaikai
2025-03-12 11:26:16 +08:00
parent c3bf44d1d6
commit 0782824143
11 changed files with 76 additions and 61 deletions

View File

@@ -73,7 +73,6 @@ public class DataSummaryController {
AssertUtil.isNull(day, "天数不能为空");
Long shopId = StpKit.USER.getShopId(0L);
DataSummaryDateAmountVo data = dataSummaryService.getSummaryAmountData(shopId, day);
return CzgResult.success(data);
}

View File

@@ -3,7 +3,6 @@ package com.czg.controller.admin;
import com.czg.log.annotation.OperationLog;
import com.czg.order.param.TableSummaryParam;
import com.czg.order.service.TableSummaryService;
import com.czg.order.vo.TableSummaryExportVo;
import com.czg.order.vo.TableSummaryInfoVo;
import com.czg.resp.CzgResult;
import com.czg.sa.StpKit;
@@ -47,8 +46,10 @@ public class TableSummaryController {
@GetMapping("export")
@OperationLog("导出")
//@SaAdminCheckPermission("tableSummary:export")
public List<TableSummaryExportVo> summaryExport(TableSummaryParam param) {
return tableSummaryService.summaryExport(param);
public List<TableSummaryInfoVo> summaryExport(TableSummaryParam param) {
Long shopId = StpKit.USER.getShopId(0L);
param.setShopId(shopId);
return tableSummaryService.summaryList(param);
}
}