@@ -58,4 +58,10 @@ public class QuestionHandle extends BaseEntity implements Serializable { | |||
*/ | |||
@TableField(exist = false) | |||
private Integer status; | |||
/** | |||
* 处理人名称 | |||
*/ | |||
@TableField(exist = false) | |||
private String handlerUserName; | |||
} |
@@ -223,6 +223,12 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO | |||
questionHandle.setHandlerImage(handerImg); | |||
} | |||
//查询处理人名称 | |||
User user = userMapper.selectById(questionHandle.getHandlerUser()); | |||
if(ObjectUtil.isNotNull(user)){ | |||
questionHandle.setHandlerUserName(user.getRealname()); | |||
} | |||
//查询问题处理状态 | |||
WorkOrderQuestion workOrderQuestion = workOrderQuestionMapper.selectOne(new LambdaQueryWrapper<WorkOrderQuestion>() | |||
.eq(WorkOrderQuestion::getQuestionId, questionId)); |