package com.mzl.flower.mapper.payment; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.mzl.flower.dto.response.payment.*; import com.mzl.flower.entity.payment.DeliveryOrderItem; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.time.LocalDateTime; import java.util.List; @Repository public interface DeliveryOrderItemMapper extends BaseMapper { List selectDoItemList(@Param("deliveryId") String deliveryId); List selectDoItemCheckList(@Param("deliveryId") String deliveryId); List selectDoItemListByTime(Page page, @Param("supplierId") Long supplierId , @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate); List selectSettlementListByTime(Page page, @Param("supplierId") Long supplierId , @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate); DeliveryOrderItemStatisticsDTO getSupplierStatisticsByTime(@Param("supplierId") Long supplierId , @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate); Integer getDoItemCount(@Param("supplierId") Long supplierId, @Param("status") String status , @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate); List selectDoItemList4Check(@Param("deliveryIds") List deliveryIds); Integer getUnCheckCount(@Param("deliveryId") String deliveryId); }