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

Merge branch 'develop' of ssh://git.mmcuav.cn:8222/iuav/cms into develop

流水线 #7810 已通过 于阶段
in 2 分 22 秒
...@@ -154,7 +154,7 @@ public interface PilotCertificationDao { ...@@ -154,7 +154,7 @@ public interface PilotCertificationDao {
* @param userId * @param userId
* @return {@link Integer} * @return {@link Integer}
*/ */
Integer selectBackUserIdByUserId(Integer userId); List<Integer> selectBackUserIdByUserId(Integer userId);
/** /**
* 获取审核通过飞手的电话号码 * 获取审核通过飞手的电话号码
* @param pilotId 飞手表id * @param pilotId 飞手表id
......
...@@ -149,7 +149,11 @@ public class UserAccountServiceImpl implements UserAccountService { ...@@ -149,7 +149,11 @@ public class UserAccountServiceImpl implements UserAccountService {
CompanyInfoVO companyInfoVO = companyInfoDO.buildCompanyInfoVO(); CompanyInfoVO companyInfoVO = companyInfoDO.buildCompanyInfoVO();
userAccountVO.setCompanyInfoVO(companyInfoVO); userAccountVO.setCompanyInfoVO(companyInfoVO);
} }
userAccountVO.setBackUserId(certificationDao.selectBackUserIdByUserId(userAccountId)); List<Integer> backUserId = certificationDao.selectBackUserIdByUserId(userAccountId);
log.info("userAccountId {} 用户对应的backUserId=============》{}",userAccountId,backUserId);
if(backUserId!=null) {
userAccountVO.setBackUserId(backUserId.get(0));
}
return userAccountVO; return userAccountVO;
} }
......
...@@ -552,9 +552,10 @@ ...@@ -552,9 +552,10 @@
where id = #{userAccountId} where id = #{userAccountId}
</select> </select>
<select id="selectBackUserIdByUserId" resultType="java.lang.Integer"> <select id="selectBackUserIdByUserId" resultType="java.lang.Integer">
select back_user_account_id from company_back_user select cbu.back_user_account_id from company_back_user cbu
inner join company_member on company_member.company_info_id = company_back_user.company_info_id inner join company_member cm on cm.company_info_id = cbu.company_info_id
where company_member.user_account_id = #{userId} where cm.user_account_id = #{userId} limit 1
</select> </select>
</mapper> </mapper>
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag: 5c727b883a2c9784cc7d6d066f5d45300c217b34 newTag: 41ab0a64e4f6f5df437dce77293f2ad8a3e07006
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论