|
@@ -13,6 +13,7 @@ import com.github.pagehelper.PageHelper;
|
13
|
13
|
import com.google.common.collect.Maps;
|
14
|
14
|
import com.sun.org.apache.bcel.internal.generic.NEW;
|
15
|
15
|
import io.swagger.models.auth.In;
|
|
16
|
+import org.apache.ibatis.annotations.Param;
|
16
|
17
|
import org.springframework.beans.BeanUtils;
|
17
|
18
|
import org.springframework.beans.factory.annotation.Autowired;
|
18
|
19
|
import org.springframework.stereotype.Service;
|
|
@@ -579,8 +580,23 @@ public class SocialServiceImpl implements SocialServiceI {
|
579
|
580
|
responseBean.addError("举报出错");
|
580
|
581
|
return responseBean;
|
581
|
582
|
}
|
582
|
|
-
|
583
|
|
-
|
|
583
|
+
|
|
584
|
+ @Override
|
|
585
|
+ public ResponseBean addTransactionReply(String paramets, UserElement userElement) {
|
|
586
|
+ ResponseBean response= new ResponseBean();
|
|
587
|
+ TpTransactionReply tpTransactionReply= JSONObject.parseObject(paramets,TpTransactionReply.class);
|
|
588
|
+ tpTransactionReply.setCommunityId(userElement.getCommunityId());
|
|
589
|
+ tpTransactionReply.setTaUserId(userElement.getId());
|
|
590
|
+ tpTransactionReply.setTaUserName(userElement.getUserName());
|
|
591
|
+ //获取被回复的姓名
|
|
592
|
+ tpTransactionReply.setReplyTaUserName( taUserMapper.selectByPrimaryKey(tpTransactionReply.getReplyTaUserId()).getUserName());
|
|
593
|
+ tpTransactionReply.setCreateDate(new Date());
|
|
594
|
+ tpTransactionReplyMapper.insert(tpTransactionReply);
|
|
595
|
+ response.addSuccess("成功");
|
|
596
|
+ return response;
|
|
597
|
+ }
|
|
598
|
+
|
|
599
|
+
|
584
|
600
|
@Override
|
585
|
601
|
public void accessTicket(Integer communityId, TpTicket tpTicket, String ticketId, Integer userId) {
|
586
|
602
|
//修改工单内容和评分
|