Cui Zhi Feng
2024-09-13 5cf36c89a641c654c9a229aea11585386a8f2006
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
35
36
37
38
39
40
41
42
43
44
45
46
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.request.payment.DeliveryOrderInfoSpQueryDTO;
import com.mzl.flower.dto.request.payment.DeliveryOrderQueryDTO;
import com.mzl.flower.dto.request.payment.DeliveryOrderStationQueryDTO;
import com.mzl.flower.dto.response.flower.StationStatisticDTO;
import com.mzl.flower.dto.response.payment.DeliveryOrder4CheckDTO;
import com.mzl.flower.dto.response.payment.DeliveryOrderList4CheckDTO;
import com.mzl.flower.dto.response.payment.DeliveryOrderListDTO;
import com.mzl.flower.dto.response.payment.DeliveryOrderStationListDTO;
import com.mzl.flower.entity.payment.DeliveryOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.time.LocalDateTime;
import java.util.List;
 
@Repository
public interface DeliveryOrderMapper extends BaseMapper<DeliveryOrder> {
    List<DeliveryOrderListDTO> selectDoList(Page page, @Param("supplierId") Long supplierId
            , @Param("condition") DeliveryOrderQueryDTO dto);
 
    List<DeliveryOrderStationListDTO> selectDoStationList(Page page
            , @Param("condition") DeliveryOrderStationQueryDTO dto);
 
    List<DeliveryOrderList4CheckDTO> selectSupplierDoList4Check(Page page
            , @Param("condition") DeliveryOrderStationQueryDTO dto);
 
    List<DeliveryOrder4CheckDTO> selectSupplierDoInfo4Check(Page page
            , @Param("condition") DeliveryOrderInfoSpQueryDTO dto);
 
    void setDeliveryOrderPending(@Param("orderId") String orderId);
 
    void deleteByOrderId(@Param("orderId") String orderId);
 
    List<StationStatisticDTO> statisticStationList(@Param("startDate") LocalDateTime startDate,
                                                   @Param("endDate")LocalDateTime endDate,
                                                   @Param("name") String name,
                                                   @Param("userId") String userId,
                                                   @Param("statusList") List<String> statusList);
 
    List<DeliveryOrder> selectSupplierDoEntity4Check(@Param("supplierId") Long supplierId
            , @Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate);
}