Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
cms
Commits
2419eaf6
提交
2419eaf6
authored
11月 03, 2023
作者:
恶龙咆哮
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化可以灵活查询各个状态
上级
2460f82e
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
5 行增加
和
4 行删除
+5
-4
PilotCertificationDao.java
...m/mmc/iuav/user/dao/dronepilot/PilotCertificationDao.java
+2
-1
PilotCertificationServiceImpl.java
...ervice/dronepilot/impl/PilotCertificationServiceImpl.java
+1
-1
UserAccountServiceImpl.java
...om/mmc/iuav/user/service/impl/UserAccountServiceImpl.java
+1
-1
PilotCertificationDao.xml
...ain/resources/mapper/dronepilot/PilotCertificationDao.xml
+1
-1
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/dao/dronepilot/PilotCertificationDao.java
浏览文件 @
2419eaf6
...
@@ -108,9 +108,10 @@ public interface PilotCertificationDao {
...
@@ -108,9 +108,10 @@ public interface PilotCertificationDao {
/**
/**
* 通过飞手id去获取飞手所在飞手团队的团队信息
* 通过飞手id去获取飞手所在飞手团队的团队信息
* @param pilotId 飞手id
* @param pilotId 飞手id
* @param pilotStatus 查询不同状态 0飞手未操作 1飞手同意加入 2 飞手拒绝加入
* @return {@link CompanyInfoDO}
* @return {@link CompanyInfoDO}
*/
*/
CompanyInfoDO
selectCompanyInfoByPilotId
(
Integer
pilotId
);
CompanyInfoDO
selectCompanyInfoByPilotId
(
Integer
pilotId
,
Integer
pilotStatus
);
/**
/**
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/dronepilot/impl/PilotCertificationServiceImpl.java
浏览文件 @
2419eaf6
...
@@ -598,7 +598,7 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
...
@@ -598,7 +598,7 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
@Override
@Override
public
ResultBody
selectCompanyInfoByPilotId
(
Integer
pilotId
)
{
public
ResultBody
selectCompanyInfoByPilotId
(
Integer
pilotId
)
{
CompanyInfoDO
companyInfoDO
=
certificationDao
.
selectCompanyInfoByPilotId
(
pilotId
);
CompanyInfoDO
companyInfoDO
=
certificationDao
.
selectCompanyInfoByPilotId
(
pilotId
,
0
);
if
(
companyInfoDO
==
null
)
{
if
(
companyInfoDO
==
null
)
{
return
ResultBody
.
success
();
return
ResultBody
.
success
();
}
}
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/impl/UserAccountServiceImpl.java
浏览文件 @
2419eaf6
...
@@ -143,7 +143,7 @@ public class UserAccountServiceImpl implements UserAccountService {
...
@@ -143,7 +143,7 @@ public class UserAccountServiceImpl implements UserAccountService {
userAccountVO
.
setSubStatus
(
0
);
userAccountVO
.
setSubStatus
(
0
);
}
}
CompanyInfoDO
companyInfoDO
=
certificationDao
.
selectCompanyInfoByPilotId
(
userAccountId
);
CompanyInfoDO
companyInfoDO
=
certificationDao
.
selectCompanyInfoByPilotId
(
userAccountId
,
1
);
if
(
companyInfoDO
!=
null
)
{
if
(
companyInfoDO
!=
null
)
{
CompanyInfoVO
companyInfoVO
=
companyInfoDO
.
buildCompanyInfoVO
();
CompanyInfoVO
companyInfoVO
=
companyInfoDO
.
buildCompanyInfoVO
();
userAccountVO
.
setCompanyInfoVO
(
companyInfoVO
);
userAccountVO
.
setCompanyInfoVO
(
companyInfoVO
);
...
...
csm-service/cms-service-user/src/main/resources/mapper/dronepilot/PilotCertificationDao.xml
浏览文件 @
2419eaf6
...
@@ -490,6 +490,6 @@
...
@@ -490,6 +490,6 @@
ci.phone_num, ci.remark, ci.create_time,ci.brand_logo, ci.brand_name, ci.license_img, ci.credit_code, ci.content, ci.score,ci.lon,ci.lat, ci.back_img
ci.phone_num, ci.remark, ci.create_time,ci.brand_logo, ci.brand_name, ci.license_img, ci.credit_code, ci.content, ci.score,ci.lon,ci.lat, ci.back_img
FROM company_info ci INNER JOIN company_back_user cbu ON ci.id = cbu.company_info_id
FROM company_info ci INNER JOIN company_back_user cbu ON ci.id = cbu.company_info_id
INNER JOIN pilot_join_team pjt on pjt.back_user_id = cbu.back_user_account_id
INNER JOIN pilot_join_team pjt on pjt.back_user_id = cbu.back_user_account_id
WHERE pjt.pilot_user_id = #{pilotId} and ci.is_deleted = 0 and pjt.pilot_status =
0
WHERE pjt.pilot_user_id = #{pilotId} and ci.is_deleted = 0 and pjt.pilot_status =
#{pilotStatus}
</select>
</select>
</mapper>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论