|
@@ -225,7 +225,7 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
|
225
|
225
|
}
|
226
|
226
|
|
227
|
227
|
@Override
|
228
|
|
- public ResponseBean updateTicketStatus(String parameter, Integer id,Integer communityId,String userName) {
|
|
228
|
+ public ResponseBean updateTicketStatus(String parameter, Integer id,Integer communityId,String userName,String LoginName) {
|
229
|
229
|
/*拒绝处理仅在待分配的情况下修改,由前台控制拒绝处理的按钮是否显示*/
|
230
|
230
|
ResponseBean response= new ResponseBean();
|
231
|
231
|
JSONObject object= JSONObject.parseObject(parameter);
|
|
@@ -237,10 +237,11 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
|
237
|
237
|
tpTicket.setUpdateUser(id);
|
238
|
238
|
tpTicket.setUpdateDate(LocalDateTime.now());
|
239
|
239
|
tpTicketMapper.updateById(tpTicket);
|
|
240
|
+ /*查询当前处理人的名字*/
|
240
|
241
|
|
241
|
242
|
TpTicketRecord tpTicketRecord= new TpTicketRecord();
|
242
|
243
|
tpTicketRecord.setTicketId(ticketId);
|
243
|
|
- tpTicketRecord.setContent("拒绝处理");
|
|
244
|
+ tpTicketRecord.setContent("您的报修被物业人员"+userName+"拒绝接受理,原因:"+textContent+",有问题可以联系"+userName+":"+LoginName);
|
244
|
245
|
tpTicketRecord.setCommunityId(communityId);
|
245
|
246
|
tpTicketRecord.setStatus("1");
|
246
|
247
|
tpTicketRecord.setCreateUser(id);
|
|
@@ -262,7 +263,7 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
|
262
|
263
|
}
|
263
|
264
|
|
264
|
265
|
@Override
|
265
|
|
- public ResponseBean updateTicket(String parameter, Integer id, Integer communityId, String userName) {
|
|
266
|
+ public ResponseBean updateTicket(String parameter, Integer id, Integer communityId, String userName,String longName) {
|
266
|
267
|
ResponseBean response=new ResponseBean();
|
267
|
268
|
JSONObject object= JSONObject.parseObject(parameter);
|
268
|
269
|
String content = object.getString("content");
|
|
@@ -278,6 +279,7 @@ public class TpTicketServiceImpl extends ServiceImpl<TpTicketMapper, TpTicket> i
|
278
|
279
|
tpTicketRecord.setTicketId(ticketId);
|
279
|
280
|
TpTicket tpTicketUserID= tpTicketMapper.selectById(ticketId);
|
280
|
281
|
User userNameTpUserId= userMapper.selectById(tpTicketUserID.getTpUserId());
|
|
282
|
+ tpTicketRecord.setContent("物业工作人员"+userName+"已经处理结束联系方式"+longName+",如果没有问题请给好评");
|
281
|
283
|
tpTicketRecord.setStatus("4");
|
282
|
284
|
tpTicketRecord.setCreateUser(id);
|
283
|
285
|
tpTicketRecord.setCreateDate(LocalDateTime.now());
|