Cui Zhi Feng
2024-08-28 6ecf246fdb0b3afd3872b11d5c7ce1d84884be2e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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);
}