| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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);
- }
|