加点赞数,收藏数

This commit is contained in:
86182
2022-10-28 12:13:18 +08:00
parent c30c85b86e
commit 5542730705

View File

@@ -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]);
}
}
}