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);
|
}
|