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 { List findByOrderIdAndTypes(@Param("orderId")String orderId, @Param("childItemTypeByType")List childItemTypeByType); List findByUserIdAndTypesWithComplete(@Param("userId")String userId, @Param("childItemTypeByType")List childItemTypeByType); ItemDto findByTypeAndPartnerAndTime(@Param("partnerId")String partnerId, @Param("itemType")String itemType, @Param("startTime")String startTime, @Param("endTime")String endTime); int addOrderItem(List list); }