Commit c8785638 authored by shiyu's avatar shiyu

个人藏馆

parent 93762f4c
...@@ -40,6 +40,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao { ...@@ -40,6 +40,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao {
JdbcHelper.ifPresent(dto.getStock(), criteria::andStockGreaterThan); JdbcHelper.ifPresent(dto.getStock(), criteria::andStockGreaterThan);
JdbcHelper.ifPresent(dto.getIsOnSale(), criteria::andIsOnSaleEqualTo); JdbcHelper.ifPresent(dto.getIsOnSale(), criteria::andIsOnSaleEqualTo);
JdbcHelper.ifPresent(dto.getIsDeleted(), criteria::andIsDeletedEqualTo); JdbcHelper.ifPresent(dto.getIsDeleted(), criteria::andIsDeletedEqualTo);
JdbcHelper.ifPresent(dto.getCreatorId(), criteria::andCreatorIdEqualTo);
supplierItemExample.setOrderByClause(" update_time desc"); supplierItemExample.setOrderByClause(" update_time desc");
PageHelper.startPage(dto.getPage(), dto.getLimit()); PageHelper.startPage(dto.getPage(), dto.getLimit());
return supplierItemMapper.selectByExampleWithBLOBs(supplierItemExample); return supplierItemMapper.selectByExampleWithBLOBs(supplierItemExample);
......
...@@ -95,12 +95,13 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati ...@@ -95,12 +95,13 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
} }
//查询所有的标签 //查询所有的标签
CollectionBookRequestDto collectionBookRequestDto = new CollectionBookRequestDto(); /* CollectionBookRequestDto collectionBookRequestDto = new CollectionBookRequestDto();
collectionBookRequestDto.setUserId(searchUserId); collectionBookRequestDto.setUserId(searchUserId);
collectionBookRequestDto。s
Result bookResult = collectionBookService.findList(collectionBookRequestDto); Result bookResult = collectionBookService.findList(collectionBookRequestDto);
if (bookResult.getSuccess()) { if (bookResult.getSuccess()) {
collectionBookVo.setBookList((List<Map<String, Object>>) bookResult.getData()); collectionBookVo.setBookList((List<Map<String, Object>>) bookResult.getData());
} }*/
//查询所有的上传藏品 //查询所有的上传藏品
SupplierItemRequestDto supplierItemRequestDto = new SupplierItemRequestDto(); SupplierItemRequestDto supplierItemRequestDto = new SupplierItemRequestDto();
supplierItemRequestDto.setType(DistributionEnum.DistributionTypeEnum.COLLECT.getCode()); supplierItemRequestDto.setType(DistributionEnum.DistributionTypeEnum.COLLECT.getCode());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment