package cn.hobbystocks.auc.mapper; import cn.hobbystocks.auc.domain.Lot; import cn.hobbystocks.auc.domain.LotGroup; import cn.hobbystocks.auc.vo.LotVO; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import org.apache.ibatis.annotations.Param; import java.util.List; public interface LotMapper extends BaseMapper { Lot selectLotById(Long id); List selectLotByAucId(Long id); List selectLotList(IPage page,@Param("lot") Lot lot); List selectLotByGroupIds(@Param("lotGroupIds") Long[] lotGroupIds); int insertLot(Lot lot); int updateLot(Lot lot); int deleteLotById(Long id); int deleteLotByIds(Long[] ids); int updateLotEx(Lot lot); List selectBidding(); List selectByLiveIdAndInStatus(@Param("liveId") Long liveId, @Param("statusList") List statusList); List selectCancel(); int updateLotView(Lot lot); List dynamicLot(); int insertLotClone(Lot update); List selectLotFinishOrWin(@Param("win") Integer win, @Param("userId") String userId); List selectLotByGroupId(Long groupId); void updatePay(@Param("lotId") Long lotId, @Param("paid") Integer paid); /** * 查询拍卖会下未结束的拍卖 * @param auctionId * @return */ List selectNotEndLotList(Long auctionId); List selectBiddingLotList(); List queryLotListByCategory(Lot lot); }