Helius
2021-06-28 cedf9aab0ee975b04c52c0a75749e1eba852db2c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.xzx.gc.order.mapper;
 
import com.xzx.gc.entity.OrderItemInfo;
import com.xzx.gc.model.admin.OrderItemModel;
import com.xzx.gc.model.order.ItemDto;
import com.xzx.gc.util.GcMapper;import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
public interface OrderItemInfoMapper extends GcMapper<OrderItemInfo> {
    List<OrderItemInfo> findByOrderIdAndTypes(@Param("orderId")String orderId, @Param("childItemTypeByType")List<String> childItemTypeByType);
 
    List<OrderItemInfo> findByUserIdAndTypesWithComplete(@Param("userId")String userId, @Param("childItemTypeByType")List<String> childItemTypeByType);
 
    ItemDto findByTypeAndPartnerAndTime(@Param("partnerId")String partnerId, @Param("itemType")String itemType, @Param("startTime")String startTime, @Param("endTime")String endTime);
 
    int addOrderItem(List<OrderItemModel> list);
}