Commit 0d6d6bd2 authored by shiyu's avatar shiyu

checkIsMine

parent 0bb9822f
......@@ -170,7 +170,7 @@ public class SelfPageServiceImpl implements SelfPageService {
} else {
CollectionShareRecord collectionShareRecord = collectionShareRecordDao.findById(dto.getShareRecordId());
itemUserId = collectionShareRecord.getItemUserId();
if (itemUserId != dto.getUserId()) {
if (itemUserId.longValue() != dto.getUserId()) {
map.put("isMine", false);
} else {
map.put("isMine", 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