对比新文件 |
| | |
| | | package com.gk.firework.Mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.gk.firework.Domain.SaleOrderDetailInfo; |
| | | import com.gk.firework.Domain.SaleOrderInfo; |
| | | import com.gk.firework.Domain.Vo.DailySaleReport; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Map; |
| | | import java.util.List; |
| | | |
| | | @Repository |
| | | public interface SaleOrderInfoMapper extends BaseMapper<SaleOrderInfo> { |
| | | |
| | | SaleOrderInfo selectOrderByDirectionAndCustomer(@Param("directionCode") String directionCode, @Param("customer") Long id); |
| | | |
| | | List<Map> selectSaleRecord1(Page<Map> page, Map params); |
| | | |
| | | List<Map> selectSaleRecord2(Page<Map> page, Map params); |
| | | |
| | | List<Map> selectSaleRecord3(Page<Map> page, Map params); |
| | | |
| | | List<Map> selectSaleRecord4(Page<Map> page, Map params); |
| | | |
| | | List<SaleOrderDetailInfo> getPurchaseDetailInUnit(Page<SaleOrderDetailInfo> page, Map params); |
| | | |
| | | List<SaleOrderInfo> selectEarlyWarn(@Param("starttime") String starttime,@Param("endtime") String endttime, |
| | | @Param("min") Integer min,@Param("max") Integer max); |
| | | |
| | | List<SaleOrderInfo> selectAlarm(@Param("starttime")String starttime, @Param("endtime")String endttime,@Param("max") Integer max); |
| | | |
| | | Long selectByCustomer(@Param("customid") Long customid); |
| | | |
| | | List<Map> selectSaleRecord3(@Param("params")Map arams); |
| | | |
| | | List<Map> selectSaleRecord4(@Param("params")Map params); |
| | | |
| | | List<DailySaleReport> selectDailySaleReport(Map<String, Object> condition, Page<DailySaleReport> page); |
| | | |
| | | List<Map> selectAllDailySaleReport(@Param("condition") Map<String, Object> condition); |
| | | |
| | | List<SaleOrderInfo> selectDataGrid(Map<String, Object> condition, Page<SaleOrderInfo> page); |
| | | |
| | | List<SaleOrderDetailInfo> getEnterpriseSaleDetail(@Param("enterpriseNumber") String enterpriseNumber,@Param("itemcode") String itemcode, |
| | | @Param("starttime") String starttime,@Param("endtime") String endtime); |
| | | |
| | | List<Map> selectEnterpriseEnterSellStore(Page<Map> page, Map params); |
| | | |
| | | BigDecimal selectEnterpriseSaleNumber(@Param("companyNumber") String companyNumber, |
| | | @Param("starttime") Object starttime, @Param("endtime") Object endtime); |
| | | |
| | | BigDecimal selectCitySaleNumber(@Param("city") String name, @Param("starttime") Object starttime, @Param("endtime") Object endtime); |
| | | |
| | | List<SaleOrderInfo> selectSameOrder(@Param("companyNumber") String companyNumber, |
| | | @Param("customerId") Long customerId, @Param("num") Integer num, |
| | | @Param("list") List<String> list); |
| | | |
| | | Map selectProductSales(@Param("params") Map<String, Object> params); |
| | | |
| | | BigDecimal selectCitySales(@Param("city")String name, @Param("starttime") Object starttime, @Param("endtime") Object endtime); |
| | | |
| | | List<SaleOrderDetailInfo> selectDetails(@Param("ordercode") String ordercode); |
| | | |
| | | Integer selectSaleAllPerson(@Param("params")Map<String, Object> params); |
| | | |
| | | Integer selectAllSaleNum(@Param("params")Map<String, Object> params); |
| | | |
| | | Integer selectAllReturnNum(@Param("params")Map<String, Object> params); |
| | | |
| | | } |