|
@@ -900,10 +900,10 @@ public class SocialServiceImpl implements SocialServiceI {
|
900
|
900
|
public ResponseBean findUsedDetailsReply(Integer transactionId, UserElement userElement, String order, Integer pageNum, Integer pageSize, Integer type) {
|
901
|
901
|
ResponseBean responseBean = new ResponseBean();
|
902
|
902
|
//拿到当前帖子的创建人
|
903
|
|
- Integer CreateUser = tpTransactionMapper.getById(transactionId).getCreateUser();
|
|
903
|
+ TpTransaction tpTransaction= tpTransactionMapper.getById(transactionId);
|
904
|
904
|
|
905
|
905
|
PageHelper.startPage(pageNum, pageSize, "create_date " + order);
|
906
|
|
- List<TpTransactionReply> replies = tpTransactionReplyMapper.getCommunityIdAndTransactionId(userElement.getCommunityId(), transactionId, userElement.getUnitId(), CreateUser, type);
|
|
906
|
+ List<TpTransactionReply> replies = tpTransactionReplyMapper.getCommunityIdAndTransactionId(userElement.getCommunityId(), transactionId, userElement.getUnitId(), tpTransaction.getCreateUser(), type);
|
907
|
907
|
for (TpTransactionReply tpTransactionReply : replies) {
|
908
|
908
|
List<TdImages> tdImagesList = tdImagesMapper.selectImages(tpTransactionReply.getId(), "reply");
|
909
|
909
|
List<String> list = new ArrayList<>();
|