OrderDonMapper.java 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. package com.cyksj.mapper;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import com.cyksj.model.entity.OrderDon;
  4. import com.cyksj.model.entity.OrderDonCustomerServiceRelate;
  5. import com.cyksj.model.excel.ExcelOrderDonInfo;
  6. import com.cyksj.model.views.BrokenLineObjView;
  7. import com.cyksj.model.views.ChannelPopularizeView;
  8. import com.cyksj.model.views.ChannelStatisticsView;
  9. import org.apache.ibatis.annotations.Param;
  10. import java.math.BigDecimal;
  11. import java.util.Date;
  12. import java.util.List;
  13. import java.util.Map;
  14. import java.util.Set;
  15. /**
  16. * @author chan
  17. * @date 2021/10/11 下午4:06
  18. */
  19. public interface OrderDonMapper extends BaseMapper<OrderDon> {
  20. List<ExcelOrderDonInfo> exportOrderInfo(@Param("promotionId") Long promotionId, @Param("start") String start, @Param("end") String end);
  21. List<OrderDon> getAppleOneOrderDons(@Param("skuIds") List<Long> skuIds, @Param("noOrderStatus") List<String> noOrderStatus, @Param("yesZeroDate") Date yesZeroDate, @Param("thisZeroDate") Date thisZeroDate);
  22. Integer updateHasPaymentInterestRealGoods();
  23. void updateHasPaymentInterestRealGoodsPayTime();
  24. BrokenLineObjView selectPlatBrokenLineMoney(@Param("first") String first, @Param("end") String end);
  25. BrokenLineObjView selectPersonDistributeBrokenLine(@Param("userId") Long userId, @Param("first") String first, @Param("end") String end);
  26. ChannelStatisticsView selectChannelStatistics(@Param("first") String first, @Param("end") String end);
  27. Integer selectCouponCodeUserNum(@Param("dsPopularizeId") Long dsPopularizeId, @Param("exCode") String exCode, @Param("noOrderAllStatus") List<String> noOrderAllStatus);
  28. ChannelPopularizeView countPopularizeOrderDetail(@Param("popularizeId") Long popularizeId, @Param("startTime") String startTime, @Param("endTime") String endTime);
  29. BigDecimal selectThisMonthAppleOneMoney(@Param("skuIds") Set<Long> skuIds, @Param("startDate") String startDate, @Param("endDate") String endDate);
  30. BigDecimal selectThisMonthDistributeOrderMoney(@Param("skuIds") Set<Long> skuIds, @Param("startDate") String startDate, @Param("endDate") String endDate);
  31. Map<String, Object> getOrderDetailByGoodsType(@Param("type") Integer type, @Param("noOrderStatus") List<String> noOrderStatus, @Param("startDate") Date startDate, @Param("endDate") Date endDate);
  32. OrderDonCustomerServiceRelate selectOrderRelate(Long orderId);
  33. String selectMaxRefundGoodsName(@Param("operator") String operator, @Param("startTime") String startTime, @Param("endTime") String endTime);
  34. BigDecimal getCouponUsedMoney(Long couponId);
  35. BrokenLineObjView selectDsPlatBrokenLineMoney(@Param("sharedId") Long sharedId, @Param("first") String first, @Param("end") String end);
  36. }