优化台桌统计
This commit is contained in:
@@ -506,8 +506,6 @@ public class SummaryServiceImpl implements SummaryService {
|
||||
|
||||
@Override
|
||||
public List<ShopTableSaleInfoVo> selectSummaryTable(Integer shopId, Date startTime, Date endTime) {
|
||||
// List<String> shopTableCodes = tbOrderInfoRepository.queryShopTableIds(shopId);
|
||||
|
||||
List<ShopTableVo> tableVos = tbOrderInfoRepository.queryShopTableVoByShopId(shopId);
|
||||
|
||||
long start = 1704038400000L;
|
||||
@@ -517,7 +515,7 @@ public class SummaryServiceImpl implements SummaryService {
|
||||
end = endTime.getTime();
|
||||
}
|
||||
|
||||
List<ShopTableSaleInfoVo> saleInfoVo = tbOrderInfoRepository.queryShopTableSaleInfo2(shopId.toString(), start, end);
|
||||
List<ShopTableSaleInfoVo> saleInfoVo = tbOrderInfoRepository.queryShopTableSaleInfo(shopId.toString(), start, end);
|
||||
|
||||
Map<String, ShopTableVo> tableMap = tableVos.stream()
|
||||
.collect(Collectors.toMap(ShopTableVo::getQrcode, Function.identity()));
|
||||
|
||||
Reference in New Issue
Block a user