| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | |
| | | }
|
| | |
|
| | | @Override
|
| | | public List<CollectionGoodsV2> getCollectionGoodsList(Long uid, int page, int pageSize, Integer source) {
|
| | | return collectionGoodsV2Mapper.selectByUidOrderByCreateTimeDesc(uid, (page - 1) * pageSize, pageSize, source);
|
| | | public List<CollectionGoodsV2> getCollectionGoodsList(Long uid, int page, int pageSize, Integer source, boolean notBackSuVip) {
|
| | | return collectionGoodsV2Mapper.selectByUidOrderByCreateTimeDesc(uid, (page - 1) * pageSize, pageSize, source, notBackSuVip);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public long getCollectionGoodsCount(Long uid, Integer source) {
|
| | | return collectionGoodsV2Mapper.selectCountByUid(uid, source);
|
| | | public long getCollectionGoodsCount(Long uid, Integer source, boolean notBackSuVip) {
|
| | | return collectionGoodsV2Mapper.selectCountByUid(uid, source, notBackSuVip);
|
| | | }
|
| | |
|
| | | @Override
|