台桌统计
This commit is contained in:
@@ -33,8 +33,8 @@ public class TableSummaryExportVo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 台桌+日期
|
* 台桌+日期
|
||||||
*/
|
*/
|
||||||
// @ExcelIgnore
|
@ExcelIgnore
|
||||||
// private String tableConcatDate;
|
private String tableConcatDate;
|
||||||
/**
|
/**
|
||||||
* 台桌
|
* 台桌
|
||||||
*/
|
*/
|
||||||
@@ -80,27 +80,27 @@ public class TableSummaryExportVo implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 单价
|
* 单价
|
||||||
*/
|
*/
|
||||||
// @ExcelProperty("单价")
|
@ExcelProperty("单价")
|
||||||
// @ColumnWidth(10)
|
@ColumnWidth(10)
|
||||||
// private BigDecimal unitPrice;
|
private BigDecimal unitPrice;
|
||||||
// /**
|
/**
|
||||||
// * 金额
|
* 金额
|
||||||
// */
|
*/
|
||||||
// @ExcelProperty("金额")
|
@ExcelProperty("金额")
|
||||||
// @ColumnWidth(10)
|
@ColumnWidth(10)
|
||||||
// private BigDecimal amount;
|
private BigDecimal amount;
|
||||||
/**
|
/**
|
||||||
* 销售额
|
* 销售额
|
||||||
*/
|
*/
|
||||||
@ExcelProperty("销售额")
|
@ExcelProperty("销售额")
|
||||||
@ColumnWidth(10)
|
@ColumnWidth(10)
|
||||||
private BigDecimal salesAmount;
|
private BigDecimal salesAmount;
|
||||||
// /**
|
/**
|
||||||
// * 总销售额
|
* 总销售额
|
||||||
// */
|
*/
|
||||||
// @ExcelProperty("总销售额")
|
@ExcelProperty("总销售额")
|
||||||
// @ColumnWidth(15)
|
@ColumnWidth(15)
|
||||||
// private BigDecimal totalSalesAmount;
|
private BigDecimal totalSalesAmount;
|
||||||
/**
|
/**
|
||||||
* 退单量
|
* 退单量
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ public class TableSummaryServiceImpl implements TableSummaryService {
|
|||||||
private ShopTableOrderStatisticMapper shopTableOrderStatisticMapper;
|
private ShopTableOrderStatisticMapper shopTableOrderStatisticMapper;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<TableSummaryExportVo> summaryExportList(TableSummaryParam param) {
|
public List<TableSummaryExportVo> summaryExportList(TableSummaryParam param) {
|
||||||
if (param.getBeginDate() == null && param.getEndDate() == null) {
|
if (param.getBeginDate() == null && param.getEndDate() == null) {
|
||||||
@@ -52,6 +51,7 @@ public class TableSummaryServiceImpl implements TableSummaryService {
|
|||||||
if (CollUtil.isEmpty(list)) {
|
if (CollUtil.isEmpty(list)) {
|
||||||
return List.of();
|
return List.of();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 追加个空行用于处理表格样式
|
// 追加个空行用于处理表格样式
|
||||||
TableSummaryExportVo nullVo = new TableSummaryExportVo();
|
TableSummaryExportVo nullVo = new TableSummaryExportVo();
|
||||||
list.add(nullVo);
|
list.add(nullVo);
|
||||||
|
|||||||
Reference in New Issue
Block a user