package com.cyksj.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.cyksj.model.entity.OrderDon; import com.cyksj.model.entity.RealGoodsInterestUser; import com.cyksj.model.excel.ExcelOrderDonInfo; import com.cyksj.model.manage.views.OrderDonView; import com.cyksj.model.views.BrokenLineObjView; import com.cyksj.model.views.ChannelPopularizeView; import com.cyksj.model.views.ChannelStatisticsView; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; /** * @author chan * @date 2021/10/11 下午4:06 */ public interface OrderDonMapper extends BaseMapper { List exportOrderInfo(@Param("promotionId") Long promotionId, @Param("start") String start, @Param("end") String end); List getAppleOneOrderDons(@Param("skuIds") List skuIds, @Param("noOrderStatus") List noOrderStatus, @Param("yesZeroDate") Date yesZeroDate, @Param("thisZeroDate") Date thisZeroDate); List selectNoPaymentRealGoods(); Integer updateHasPaymentInterestRealGoods(); void updateHasPaymentInterestRealGoodsPayTime(); OrderDonView getOrderDetail(Long orderId); BrokenLineObjView selectPlatBrokenLineMoney(@Param("first") String first, @Param("end") String end); BrokenLineObjView selectPersonDistributeBrokenLine(@Param("userId") Long userId, @Param("first") String first, @Param("end") String end); ChannelStatisticsView selectChannelStatistics(@Param("first") String first, @Param("end") String end); Integer selectCouponCodeUserNum(@Param("dsPopularizeId") Long dsPopularizeId, @Param("noOrderAllStatus") List noOrderAllStatus); ChannelPopularizeView countPopularizeOrderDetail(@Param("popularizeId") Long popularizeId, @Param("startTime") String startTime, @Param("endTime") String endTime); }