|
@@ -86,7 +86,7 @@ public class SocialServiceImpl implements SocialServiceI {
|
86
|
86
|
private ToCommunitiesMapper toCommunitiesMapper;
|
87
|
87
|
|
88
|
88
|
@Autowired
|
89
|
|
- private TpTransactionReportMapper tpTransactionReportMapper;
|
|
89
|
+ private TpTransactionReplyMapper tpTransactionReplyMapper;
|
90
|
90
|
|
91
|
91
|
@Override
|
92
|
92
|
@Transactional
|
|
@@ -591,6 +591,7 @@ public class SocialServiceImpl implements SocialServiceI {
|
591
|
591
|
//获取被回复的姓名
|
592
|
592
|
tpTransactionReply.setReplyTaUserName( taUserMapper.selectByPrimaryKey(tpTransactionReply.getReplyTaUserId()).getUserName());
|
593
|
593
|
tpTransactionReply.setCreateDate(new Date());
|
|
594
|
+ tpTransactionReplyMapper.insert(tpTransactionReply);
|
594
|
595
|
response.addSuccess("成功");
|
595
|
596
|
return response;
|
596
|
597
|
}
|
|
@@ -732,7 +733,8 @@ public class SocialServiceImpl implements SocialServiceI {
|
732
|
733
|
tpTransaction.setImgList(imgList);
|
733
|
734
|
|
734
|
735
|
// 查询回复信息
|
735
|
|
-
|
|
736
|
+ List<TpTransactionReply> transactionReplies = tpTransactionReplyMapper.getCommunityIdAndTransactionId(communityId, tpTransaction.getId());
|
|
737
|
+ tpTransaction.setReplies(transactionReplies);
|
736
|
738
|
|
737
|
739
|
return tpTransaction;
|
738
|
740
|
|