WorkOrderEntity jobEntity = this.workOrderMapper.selectWorkOrderById(id);
String phone=jobEntity.getReporterPhone();
//手机号脱敏处理
phone = phone.replaceAll("(^\\d{3})\\d.*(\\d{4})", "$1****$2");
String email=jobEntity.getReporterEmail();
//邮箱脱敏处理
email = email.replaceAll("(^\\w)[^@]*(@.*$)", "$1****$2");
WorkOrderDto workOrderDTO = BeanUtil.convertBean(jobEntity, WorkOrderDto.class);
workOrderDTO.setReporterPhone(phone);
workOrderDTO.setReporterEmail(email);