提交 b4858cb8 作者: 刘明祎-运维用途

飞手显示所属团队

上级 9d85efdd
流水线 #7714 已通过 于阶段
in 2 分 20 秒
...@@ -221,6 +221,13 @@ public class PilotCertificationServiceImpl implements PilotCertificationService ...@@ -221,6 +221,13 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
certificationDO.setAge(getAgeByBirth(certificationDO.getBirthday())); certificationDO.setAge(getAgeByBirth(certificationDO.getBirthday()));
PilotCertificationDTO pilotCertificationDTO = certificationDO.buildPilotCertificationDTO(); PilotCertificationDTO pilotCertificationDTO = certificationDO.buildPilotCertificationDTO();
//展示每个飞手所属团队名称
FlyingTeam flyingTeam = certificationDao.selectCompanyNameByFlyingUserId(pilotCertificationDTO .getUserAccountId());
if(flyingTeam != null){
pilotCertificationDTO.setFlyingTeam(flyingTeam.getCompanyName());
pilotCertificationDTO.setBackUserId(flyingTeam.getBackUserId());
}
return pilotCertificationDTO; return pilotCertificationDTO;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论