|
@@ -638,8 +638,8 @@ public class SocialServiceImpl implements SocialServiceI {
|
638
|
638
|
tdImagesMapper.insert(tdImages);
|
639
|
639
|
}
|
640
|
640
|
}
|
641
|
|
- // 推消
|
642
|
|
- TpMessage tpMessage = new TpMessage(null,userElement.getCommunityId(),"6","1","1", tpTransactionReply.getUuid(),"1","2", userElement.getUserName()+":"+tpTransactionReply.getReplyContent(),
|
|
641
|
+ // 推消息
|
|
642
|
+ TpMessage tpMessage = new TpMessage(null,userElement.getCommunityId(),"6","1","1", tpTransactionReply.getReplyId(),"1","2", userElement.getUserName()+":"+tpTransactionReply.getReplyContent(),
|
643
|
643
|
"1",null,null,"0",userElement.getUserVerifyId(),new Date(),null,null,null,null,null,tpTransactionReply.getTransactionId());
|
644
|
644
|
tpMessageMapper.insertSelective(tpMessage);
|
645
|
645
|
response.addSuccess("成功");
|
|
@@ -1103,8 +1103,12 @@ public class SocialServiceImpl implements SocialServiceI {
|
1103
|
1103
|
|
1104
|
1104
|
JSONArray tpTransactionIdId = parseObject.getJSONArray("id");
|
1105
|
1105
|
Integer[] tpTransactionReportArray = tpTransactionIdId.toArray(new Integer[]{});
|
1106
|
|
- for (Integer TpTransactionReport:tpTransactionReportArray){
|
1107
|
|
- tpTransactionReportMapper.deleteTransactionReport(TpTransactionReport,tpUser.getCommunityId());
|
|
1106
|
+ for (Integer tpTransactionReportID:tpTransactionReportArray){
|
|
1107
|
+ tpTransactionReportMapper.deleteTransactionReport(tpTransactionReportID,tpUser.getCommunityId());
|
|
1108
|
+ TpTransaction tpTransaction= new TpTransaction();
|
|
1109
|
+ tpTransaction.setId(tpTransactionReportID);
|
|
1110
|
+ tpTransaction.setIsReported("0");
|
|
1111
|
+ tpTransactionMapper.updateByPrimaryKeySelective(tpTransaction);
|
1108
|
1112
|
}
|
1109
|
1113
|
response.addSuccess("成功");
|
1110
|
1114
|
return response;
|