台桌统计报表
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
package com.czg.controller.admin;
|
||||
|
||||
import com.czg.handel.ExcelMergeHandler;
|
||||
import com.czg.handel.TableRefundCellHandel;
|
||||
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;
|
||||
@@ -42,14 +45,14 @@ public class TableSummaryController {
|
||||
/**
|
||||
* 导出
|
||||
*/
|
||||
@ResponseExcel(name = "台桌统计")
|
||||
@ResponseExcel(name = "台桌统计", writeHandler = {ExcelMergeHandler.class, TableRefundCellHandel.class})
|
||||
@GetMapping("export")
|
||||
@OperationLog("导出")
|
||||
//@SaAdminCheckPermission("tableSummary:export")
|
||||
public List<TableSummaryInfoVo> summaryExport(TableSummaryParam param) {
|
||||
public List<TableSummaryExportVo> summaryExport(TableSummaryParam param) {
|
||||
Long shopId = StpKit.USER.getShopId(0L);
|
||||
param.setShopId(shopId);
|
||||
return tableSummaryService.summaryList(param);
|
||||
return tableSummaryService.summaryExportList(param);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user