mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-10 11:26:50 +08:00
加点赞数,收藏数
This commit is contained in:
@@ -301,12 +301,13 @@ public class FavoritesServiceImpl implements IFavoritesService{
|
||||
favoriteTotalDto.setContent((String) o[2]);
|
||||
favoriteTotalDto.setAuthorId((String) o[3]);
|
||||
favoriteTotalDto.setAuthorName((String) o[4]);
|
||||
favoriteTotalDto.setPraises((Integer) o[5]);
|
||||
favoriteTotalDto.setFavorites((Integer) o[6]);
|
||||
favoriteTotalDto.setComments((Integer) o[6]);
|
||||
|
||||
Timestamp time = (Timestamp)o[5];
|
||||
|
||||
favoriteTotalDto.setPublishTime(time.toLocalDateTime());
|
||||
favoriteTotalDto.setPraises((Integer)o[6]);
|
||||
favoriteTotalDto.setFavorites((Integer) o[7]);
|
||||
favoriteTotalDto.setComments((Integer) o[8]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user