Cui Zhi Feng
2024-09-20 bbce1624d0d4e9063a2ad71b7f54e34298da9b7a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.mzl.flower.mapper.payment;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mzl.flower.dto.response.payment.AbnormalOrderItemDTO;
import com.mzl.flower.dto.response.payment.OrderItemListDTO;
import com.mzl.flower.dto.response.payment.OrderItemPlatformListDTO;
import com.mzl.flower.entity.payment.OrderItem;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Repository
public interface OrderItemMapper extends BaseMapper<OrderItem> {
    List<AbnormalOrderItemDTO> getAbnormalItems(@Param("orderId") String orderId);
 
    List<OrderItemPlatformListDTO> getPlatformOrderItems(@Param("orderId") String orderId);
 
    List<OrderItemListDTO> getOrderItems(@Param("orderIds") List<String> orderIds);
}