| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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> {
- Lot selectLotById(Long id);
- List<Lot> selectLotByAucId(Long id);
- List<Lot> selectLotList(IPage<Lot> page,@Param("lot") Lot lot);
- List<Lot> 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<Lot> selectBidding();
- List<Lot> selectByLiveIdAndInStatus(@Param("liveId") Long liveId, @Param("statusList") List<String> statusList);
- List<Lot> selectCancel();
- int updateLotView(Lot lot);
- List<Lot> dynamicLot();
- int insertLotClone(Lot update);
- List<Lot> selectLotFinishOrWin(@Param("win") Integer win, @Param("userId") String userId);
- List<Lot> selectLotByGroupId(Long groupId);
- void updatePay(@Param("lotId") Long lotId, @Param("paid") Integer paid);
- /**
- * 查询拍卖会下未结束的拍卖
- * @param auctionId
- * @return
- */
- List<Lot> selectNotEndLotList(Long auctionId);
- List<Lot> selectBiddingLotList();
- List<Lot> queryLotListByCategory(Lot lot);
- }
|