| 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<DeliveryOrderItem> { | 
|     List<DeliveryOrderItemListDTO> selectDoItemList(@Param("deliveryId") String deliveryId); | 
|   | 
|     List<DeliveryOrderItemCheckDTO> selectDoItemCheckList(@Param("deliveryId") String deliveryId); | 
|   | 
|     List<DeliveryOrderItemStatisticsDTO> selectDoItemListByTime(Page page, @Param("supplierId") Long supplierId | 
|             , @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate); | 
|   | 
|     List<DeliveryOrderItemSettlementDTO> 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<DeliveryOrderItem4CheckDTO> selectDoItemList4Check(@Param("deliveryIds") List<String> deliveryIds); | 
|   | 
|     Integer getUnCheckCount(@Param("deliveryId") String deliveryId); | 
| } |