|
|
@@ -18,12 +18,12 @@ import java.util.List;
|
|
|
public class LotNoticeServiceImpl extends ServiceImpl<LotNoticeMapper, LotNotice> implements LotNoticeService {
|
|
|
@Override
|
|
|
public List<LotNotice> selectLotNoticeList(LotNotice lotNotice) {
|
|
|
- Page<LotNotice> lotNoticePage = new Page<>(lotNotice.getPageNum(), lotNotice.getPageSize());
|
|
|
+// Page<LotNotice> lotNoticePage = new Page<>(lotNotice.getPageNum(), lotNotice.getPageSize());
|
|
|
LambdaQueryWrapper<LotNotice> lotNoticeLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
|
|
if (StringUtils.isNotEmpty(lotNotice.getTitle()))
|
|
|
lotNoticeLambdaQueryWrapper.like(LotNotice::getTitle,"%"+lotNotice.getTitle()+"%");
|
|
|
lotNoticeLambdaQueryWrapper.orderByDesc(LotNotice::getId);
|
|
|
- return getBaseMapper().selectList(lotNoticePage, lotNoticeLambdaQueryWrapper);
|
|
|
+ return getBaseMapper().selectList(lotNoticeLambdaQueryWrapper);
|
|
|
}
|
|
|
|
|
|
@Override
|