| | |
| | | import com.ruoyi.system.domain.TOrderSale; |
| | | import com.ruoyi.system.dto.CheckoutDTO; |
| | | import com.ruoyi.system.dto.TOrderSaleDTO; |
| | | import com.ruoyi.system.query.TDataGeneratorSaleQuery; |
| | | import com.ruoyi.system.query.TDataStatisticsQuery; |
| | | import com.ruoyi.system.query.TOrderMealQuery; |
| | | import com.ruoyi.system.query.TOrderSaleQuery; |
| | | import com.ruoyi.system.export.SumGeneratorClient; |
| | | import com.ruoyi.system.query.*; |
| | | import com.ruoyi.system.vo.*; |
| | | |
| | | import java.math.BigDecimal; |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | AmountSumVO amountSum(TOrderMealQuery query); |
| | | AmountSumVO amountSum(TOrderSaleQuery query); |
| | | |
| | | /** |
| | | * 查询销售销售量统计 |
| | |
| | | * @param query |
| | | * @return |
| | | */ |
| | | List<SalesRankingVO> salesRanking(TDataStatisticsQuery query); |
| | | PageInfo<SalesRankingVO> salesRanking(TDataStatisticsQuery query); |
| | | |
| | | /** |
| | | * 导出销售列表 |
| | |
| | | * @param dto |
| | | */ |
| | | void checkout(CheckoutDTO dto); |
| | | |
| | | /** |
| | | * 修改订单 |
| | | * @param dto |
| | | */ |
| | | void edit(TOrderSaleDTO dto); |
| | | |
| | | /** |
| | | * 销售数据生成列表导出 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | List<TDataGeneratorVO> saleGeneratorListExport(TDataGeneratorQuery query); |
| | | |
| | | /** |
| | | * 盈利明细详情 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | ProfitDetailsVO profitDetails(ProfitDetailsQuery query); |
| | | |
| | | /** |
| | | * 明细导出 |
| | | * @param query |
| | | * @return |
| | | */ |
| | | List<GoodsProfitVO> profitDetailsExport(ProfitDetailsQuery query); |
| | | |
| | | /** |
| | | * 删除销售数据 |
| | | * @param shopId |
| | | */ |
| | | void deleteByShopId(Long shopId); |
| | | |
| | | Map<String, Double> getDataGeneratorSaleDetailOrderMoney(TDataGeneratorSaleQuery query); |
| | | |
| | | } |