Commit 34a2311f authored by shiyu's avatar shiyu

客态商品详情

parent 42c2e40c
......@@ -74,8 +74,9 @@ public class CollectionItemsRelationServiceImpl implements CollectionItemsRelati
collectionItemsRelationDao.insert(collectionItemsRelation);
}
});
return Result.success();
}catch (Exception e) {
logger.error("查询收藏册 error: {}", e);
logger.error("创建收藏标签 error: {}", e);
}
return Result.failed();
}
......
......@@ -659,6 +659,7 @@ public class SupplierItemServiceImpl implements SupplierItemService {
SupplierItem supplierItem = supplierItemDao.findById(itemId);
if (supplierItem.getCreatorId().longValue() != userId) {
supplierItemVo.setIsMine(false);
userId = supplierItem.getCreatorId();
boolean isCollected = itemCollectedRecordDao.isExisted(itemId, userId);
if (isCollected) {
supplierItemVo.setIsCollected(true);
......
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