Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
cms
Commits
e10d3ea8
提交
e10d3ea8
authored
12月 26, 2023
作者:
han
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
根据用户id查询用户手机号
上级
de5b6de9
流水线
#7737
已通过 于阶段
in 2 分 21 秒
变更
5
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
13 行增加
和
6 行删除
+13
-6
PilotCertificationController.java
...r/controller/dronepilot/PilotCertificationController.java
+2
-2
PilotCertificationDao.java
...m/mmc/iuav/user/dao/dronepilot/PilotCertificationDao.java
+2
-0
PilotCertificationService.java
...av/user/service/dronepilot/PilotCertificationService.java
+2
-2
PilotCertificationServiceImpl.java
...ervice/dronepilot/impl/PilotCertificationServiceImpl.java
+2
-2
PilotCertificationDao.xml
...ain/resources/mapper/dronepilot/PilotCertificationDao.xml
+5
-0
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/controller/dronepilot/PilotCertificationController.java
浏览文件 @
e10d3ea8
...
...
@@ -210,7 +210,7 @@ public class PilotCertificationController extends BaseController {
@ApiOperation
(
value
=
"查询飞手的手机号"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
Integer
.
class
)})
@GetMapping
(
"/getPilotApplyPhone"
)
public
String
getPilotApplyPhone
(
@RequestParam
Integer
pilo
tId
){
return
certificationService
.
getPilotApplyPhone
(
pilo
tId
);
public
String
getPilotApplyPhone
(
@RequestParam
Integer
userAccoun
tId
){
return
certificationService
.
getPilotApplyPhone
(
userAccoun
tId
);
}
}
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/dao/dronepilot/PilotCertificationDao.java
浏览文件 @
e10d3ea8
...
...
@@ -156,6 +156,8 @@ public interface PilotCertificationDao {
*/
String
getPilotApplyPhone
(
Integer
pilotId
);
String
getUserPhone
(
Integer
userAccountId
);
/**
* 通过通过飞手ID查询飞手的团队信息
*/
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/dronepilot/PilotCertificationService.java
浏览文件 @
e10d3ea8
...
...
@@ -65,7 +65,7 @@ public interface PilotCertificationService {
*/
Integer
selectPilotTeam
(
Integer
pilotUserId
);
/**
* 通过
飞手id查询飞手
的手机号
* 通过
用户id查询用户
的手机号
*/
String
getPilotApplyPhone
(
Integer
pilo
tId
);
String
getPilotApplyPhone
(
Integer
userAccoun
tId
);
}
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/dronepilot/impl/PilotCertificationServiceImpl.java
浏览文件 @
e10d3ea8
...
...
@@ -697,8 +697,8 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
}
@Override
public
String
getPilotApplyPhone
(
Integer
pilo
tId
)
{
return
certificationDao
.
get
PilotApplyPhone
(
pilo
tId
);
public
String
getPilotApplyPhone
(
Integer
userAccoun
tId
)
{
return
certificationDao
.
get
UserPhone
(
userAccoun
tId
);
}
public
JSONObject
spellMsg
(
String
name
,
String
result
){
...
...
csm-service/cms-service-user/src/main/resources/mapper/dronepilot/PilotCertificationDao.xml
浏览文件 @
e10d3ea8
...
...
@@ -538,5 +538,10 @@
JOIN company_member cm ON cb.company_info_id = cm.company_info_id
WHERE p.pilot_user_id = #{pilotUserId};
</select>
<select
id=
"getUserPhone"
resultType=
"java.lang.String"
>
select phone_num
from user_account
where id = #{userAccountId}
</select>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论