Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
cms
Commits
e4d95b50
提交
e4d95b50
authored
7月 31, 2023
作者:
张小凤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Pilot(add)
上级
03d9c7d8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
23 行增加
和
8 行删除
+23
-8
PilotCertificationDTO.java
...iuav/user/model/dto/dronepilot/PilotCertificationDTO.java
+5
-0
PilotCertificationController.java
...r/controller/dronepilot/PilotCertificationController.java
+2
-2
PilotCertificationDO.java
...mmc/iuav/user/entity/dronepilot/PilotCertificationDO.java
+6
-0
PilotCertificationLogDO.java
.../iuav/user/entity/dronepilot/PilotCertificationLogDO.java
+1
-1
PilotCertificationService.java
...av/user/service/dronepilot/PilotCertificationService.java
+1
-1
PilotCertificationServiceImpl.java
...ervice/dronepilot/impl/PilotCertificationServiceImpl.java
+1
-1
PilotCertificationDao.xml
...ain/resources/mapper/dronepilot/PilotCertificationDao.xml
+5
-2
not-check.yml
...service/cms-service-user/src/main/resources/not-check.yml
+2
-1
没有找到文件。
cms-common/cms-common-model/src/main/java/com/mmc/iuav/user/model/dto/dronepilot/PilotCertificationDTO.java
浏览文件 @
e4d95b50
...
@@ -93,5 +93,10 @@ public class PilotCertificationDTO {
...
@@ -93,5 +93,10 @@ public class PilotCertificationDTO {
private
Integer
sex
;
private
Integer
sex
;
@ApiModelProperty
(
value
=
"申请用户的年龄"
,
example
=
"1"
)
@ApiModelProperty
(
value
=
"申请用户的年龄"
,
example
=
"1"
)
private
Integer
age
;
private
Integer
age
;
/**
* 申请飞手的手机号
*/
@ApiModelProperty
(
value
=
"申请飞手的手机号"
,
example
=
"18921312312"
)
private
String
phoneNum
;
}
}
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/controller/dronepilot/PilotCertificationController.java
浏览文件 @
e4d95b50
...
@@ -60,10 +60,10 @@ public class PilotCertificationController extends BaseController {
...
@@ -60,10 +60,10 @@ public class PilotCertificationController extends BaseController {
@ApiOperation
(
value
=
"小程序——列表————飞手执照及能力认证"
)
@ApiOperation
(
value
=
"小程序——列表————飞手执照及能力认证"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
PilotCertificationDTO
.
class
)})
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
PilotCertificationDTO
.
class
)})
@PostMapping
(
"/
l
istPilot"
)
@PostMapping
(
"/
appL
istPilot"
)
public
ResultBody
<
PilotCertificationDTO
>
pilotList
(
HttpServletRequest
request
,
public
ResultBody
<
PilotCertificationDTO
>
pilotList
(
HttpServletRequest
request
,
@Validated
(
value
=
{
Page
.
class
})
@ApiParam
(
value
=
"飞手查询"
,
required
=
true
)
@RequestBody
PilotCertificationQO
param
)
{
@Validated
(
value
=
{
Page
.
class
})
@ApiParam
(
value
=
"飞手查询"
,
required
=
true
)
@RequestBody
PilotCertificationQO
param
)
{
return
ResultBody
.
success
(
certificationService
.
pilotList
(
param
,
this
.
getUserLoginInfoFromRedis
(
request
)
));
return
ResultBody
.
success
(
certificationService
.
pilotList
(
param
));
}
}
@ApiOperation
(
value
=
"小程序——详情————飞手执照及能力认证"
)
@ApiOperation
(
value
=
"小程序——详情————飞手执照及能力认证"
)
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/entity/dronepilot/PilotCertificationDO.java
浏览文件 @
e4d95b50
...
@@ -101,6 +101,11 @@ public class PilotCertificationDO {
...
@@ -101,6 +101,11 @@ public class PilotCertificationDO {
private
Integer
age
;
private
Integer
age
;
/**
* 申请飞手的手机号
*/
private
String
phoneNum
;
public
PilotCertificationDO
(
PilotCertificationVO
pilotCertificationVO
,
Integer
userAccountId
)
{
public
PilotCertificationDO
(
PilotCertificationVO
pilotCertificationVO
,
Integer
userAccountId
)
{
this
.
id
=
pilotCertificationVO
.
getId
();
this
.
id
=
pilotCertificationVO
.
getId
();
...
@@ -140,6 +145,7 @@ public class PilotCertificationDO {
...
@@ -140,6 +145,7 @@ public class PilotCertificationDO {
.
userName
(
this
.
userName
)
.
userName
(
this
.
userName
)
.
age
(
this
.
age
)
.
age
(
this
.
age
)
.
sex
(
this
.
sex
)
.
sex
(
this
.
sex
)
.
phoneNum
(
this
.
getPhoneNum
())
.
build
();
.
build
();
}
}
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/entity/dronepilot/PilotCertificationLogDO.java
浏览文件 @
e4d95b50
...
@@ -68,7 +68,7 @@ public class PilotCertificationLogDO {
...
@@ -68,7 +68,7 @@ public class PilotCertificationLogDO {
.
userName
(
this
.
userName
)
.
userName
(
this
.
userName
)
.
phoneNum
(
this
.
phoneNum
)
.
phoneNum
(
this
.
phoneNum
)
.
operatorUserAccount
(
this
.
operatorUserAccount
)
.
operatorUserAccount
(
this
.
operatorUserAccount
)
.
operatorUserName
(
this
.
operatorUser
Account
)
.
operatorUserName
(
this
.
operatorUser
Name
)
.
createTime
(
this
.
createTime
)
.
createTime
(
this
.
createTime
)
.
updateTime
(
this
.
updateTime
)
.
updateTime
(
this
.
updateTime
)
.
build
();
.
build
();
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/dronepilot/PilotCertificationService.java
浏览文件 @
e4d95b50
...
@@ -25,7 +25,7 @@ public interface PilotCertificationService {
...
@@ -25,7 +25,7 @@ public interface PilotCertificationService {
ResultBody
updatePilot
(
PilotCertificationVO
certificationVO
,
LoginSuccessDTO
userLoginInfoFromRedis
);
ResultBody
updatePilot
(
PilotCertificationVO
certificationVO
,
LoginSuccessDTO
userLoginInfoFromRedis
);
PageResult
pilotList
(
PilotCertificationQO
param
,
LoginSuccessDTO
userLoginInfoFromRedis
);
PageResult
pilotList
(
PilotCertificationQO
param
);
PilotCertificationDTO
detailPilot
(
Integer
id
);
PilotCertificationDTO
detailPilot
(
Integer
id
);
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/service/dronepilot/impl/PilotCertificationServiceImpl.java
浏览文件 @
e4d95b50
...
@@ -102,7 +102,7 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
...
@@ -102,7 +102,7 @@ public class PilotCertificationServiceImpl implements PilotCertificationService
}
}
@Override
@Override
public
PageResult
pilotList
(
PilotCertificationQO
param
,
LoginSuccessDTO
userLoginInfoFromRedis
)
{
public
PageResult
pilotList
(
PilotCertificationQO
param
)
{
Integer
pageNo
=
param
.
getPageNo
();
Integer
pageNo
=
param
.
getPageNo
();
param
.
buildCurrentPage
();
param
.
buildCurrentPage
();
List
<
PilotCertificationDO
>
pilotList
=
certificationDao
.
pilotList
(
param
);
List
<
PilotCertificationDO
>
pilotList
=
certificationDao
.
pilotList
(
param
);
...
...
csm-service/cms-service-user/src/main/resources/mapper/dronepilot/PilotCertificationDao.xml
浏览文件 @
e4d95b50
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<result
property=
"userName"
column=
"user_name"
/>
<result
property=
"userName"
column=
"user_name"
/>
<result
property=
"birthday"
column=
"birthday"
/>
<result
property=
"birthday"
column=
"birthday"
/>
<result
property=
"sex"
column=
"sex"
/>
<result
property=
"sex"
column=
"sex"
/>
<result
property=
"phoneNum"
column=
"phone_num"
/>
<collection
property=
"pilotAbility"
ofType=
"com.mmc.iuav.user.model.vo.dronepilot.PilotAbilityVO"
<collection
property=
"pilotAbility"
ofType=
"com.mmc.iuav.user.model.vo.dronepilot.PilotAbilityVO"
select=
"selectAbilityList"
select=
"selectAbilityList"
column=
"{pilotCertificationId=id}"
>
column=
"{pilotCertificationId=id}"
>
...
@@ -198,10 +199,12 @@
...
@@ -198,10 +199,12 @@
pc.update_time,
pc.update_time,
rna.user_name,
rna.user_name,
rna.birthday,
rna.birthday,
rna.sex
rna.sex,
ua.phone_num
FROM pilot_certification pc
FROM pilot_certification pc
LEFT JOIN real_name_auth rna ON pc.user_account_id = rna.user_account_id
LEFT JOIN real_name_auth rna ON pc.user_account_id = rna.user_account_id
where pc.id = #{id}
LEFT JOIN user_account ua ON pc.user_account_id = ua.id
WHERE pc.id = #{id}
</select>
</select>
<update
id=
"updateRemark"
parameterType=
"com.mmc.iuav.user.model.qo.dronepilot.PilotRemarkQO"
>
<update
id=
"updateRemark"
parameterType=
"com.mmc.iuav.user.model.qo.dronepilot.PilotRemarkQO"
>
...
...
csm-service/cms-service-user/src/main/resources/not-check.yml
浏览文件 @
e4d95b50
...
@@ -24,5 +24,6 @@ data-filter:
...
@@ -24,5 +24,6 @@ data-filter:
-
/userapp/cooperation/service/bitmap
-
/userapp/cooperation/service/bitmap
-
/userapp/cooperation/appBrandList
-
/userapp/cooperation/appBrandList
-
/userapp/cooperation/appBrandMessage
-
/userapp/cooperation/appBrandMessage
-
/userapp/pilot/listPilot
-
/userapp/pilot/detailPilot
-
/userapp/pilot/detailPilot
-
/userapp/pilot/appListPilot
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论