feat: bug-800 提交审核后,禁止用户重启议题
This commit is contained in:
parent
cb7ccf3a1e
commit
cb6cfe0bfa
|
|
@ -93,15 +93,12 @@ public class TicketController extends ControllerBase {
|
|||
@Resource
|
||||
private UniPushService uniPushService;
|
||||
|
||||
// @Resource
|
||||
// private ITicketCallService ticketCallService;
|
||||
//
|
||||
// @Resource
|
||||
// private ITicketCallJoinService ticketCallJoinService;
|
||||
|
||||
@Resource
|
||||
private ShengWangService shengWangService;
|
||||
|
||||
@Resource
|
||||
private ITicketSolutionAuditService ticketSolutionAuditService;
|
||||
|
||||
/**
|
||||
* 搜索设备
|
||||
* @param request 搜索条件
|
||||
|
|
@ -251,7 +248,9 @@ public class TicketController extends ControllerBase {
|
|||
.setCompanyName(StrUtil.join(",",companys.stream().map(TBaseCustomer::getAgencyCompanyName).collect(Collectors.toList())))
|
||||
.setHandle(handle)
|
||||
.setSolution(ticket.getReason())
|
||||
.setEvaluate(getTicketEvaluate(ticket.getId()));
|
||||
.setEvaluate(getTicketEvaluate(ticket.getId()))
|
||||
.setCanReopen(Objects.equals(ticket.getState(), TicketState.ProcessingCompleted.getState())
|
||||
&& !ticketSolutionAuditService.lambdaQuery().eq(TicketSolutionAudit::getTicketId, ticket.getId()).exists());
|
||||
return ApiResult.success(vo);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -132,4 +132,9 @@ public class TicketInfoVO {
|
|||
* 当前用户是否可发送消息
|
||||
*/
|
||||
private Boolean canSendMessage;
|
||||
|
||||
/**
|
||||
* 是否可以重启议题
|
||||
*/
|
||||
private Boolean canReopen;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue