Compare commits

..

2 Commits

Author SHA1 Message Date
曹鹏飞 1a3af0ae7e Merge branch 'feature/bug-800' into test 2025-10-10 15:56:33 +08:00
曹鹏飞 cb6cfe0bfa feat: bug-800 提交审核后,禁止用户重启议题 2025-10-10 15:56:19 +08:00
2 changed files with 11 additions and 7 deletions

View File

@ -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);
}

View File

@ -132,4 +132,9 @@ public class TicketInfoVO {
* 当前用户是否可发送消息
*/
private Boolean canSendMessage;
/**
* 是否可以重启议题
*/
private Boolean canReopen;
}