Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
878752eb
提交
878752eb
authored
8月 03, 2023
作者:
张小凤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
PilotCertificationDO(update)
上级
f68cf3ae
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
28 行增加
和
7 行删除
+28
-7
PilotCertificationDTO.java
...iuav/user/model/dto/dronepilot/PilotCertificationDTO.java
+4
-0
PilotAuditStatusQO.java
...mmc/iuav/user/model/qo/dronepilot/PilotAuditStatusQO.java
+1
-1
PilotCertificationDO.java
...mmc/iuav/user/entity/dronepilot/PilotCertificationDO.java
+6
-0
PilotCertificationDao.xml
...ain/resources/mapper/dronepilot/PilotCertificationDao.xml
+17
-6
没有找到文件。
cms-common/cms-common-model/src/main/java/com/mmc/iuav/user/model/dto/dronepilot/PilotCertificationDTO.java
浏览文件 @
878752eb
...
...
@@ -98,5 +98,9 @@ public class PilotCertificationDTO {
*/
@ApiModelProperty
(
value
=
"申请飞手的手机号"
,
example
=
"18921312312"
)
private
String
phoneNum
;
@ApiModelProperty
(
value
=
"审批不通过原因id"
,
example
=
"1"
)
private
Integer
reasonId
;
@ApiModelProperty
(
value
=
"审批不通过的原因"
,
example
=
"1"
)
private
String
reason
;
}
cms-common/cms-common-model/src/main/java/com/mmc/iuav/user/model/qo/dronepilot/PilotAuditStatusQO.java
浏览文件 @
878752eb
...
...
@@ -28,7 +28,7 @@ public class PilotAuditStatusQO {
@ApiModelProperty
(
value
=
"2不通过的原因"
,
required
=
false
,
example
=
"信息不完善"
)
private
String
reason
;
private
String
reason
Id
;
@ApiModelProperty
(
value
=
"审批人"
,
required
=
false
,
example
=
"信息不完善"
,
hidden
=
true
)
private
Integer
operatorUserId
;
...
...
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/entity/dronepilot/PilotCertificationDO.java
浏览文件 @
878752eb
...
...
@@ -101,6 +101,10 @@ public class PilotCertificationDO {
private
Integer
age
;
private
Integer
reasonId
;
private
String
reason
;
/**
* 申请飞手的手机号
*/
...
...
@@ -146,6 +150,8 @@ public class PilotCertificationDO {
.
age
(
this
.
age
)
.
sex
(
this
.
sex
)
.
phoneNum
(
this
.
getPhoneNum
())
.
reasonId
(
this
.
reasonId
)
.
reason
(
this
.
reason
)
.
build
();
}
...
...
csm-service/cms-service-user/src/main/resources/mapper/dronepilot/PilotCertificationDao.xml
浏览文件 @
878752eb
...
...
@@ -24,6 +24,8 @@
<result
property=
"birthday"
column=
"birthday"
/>
<result
property=
"sex"
column=
"sex"
/>
<result
property=
"phoneNum"
column=
"phone_num"
/>
<result
property=
"reasonId"
column=
"reason_id"
/>
<result
property=
"reason"
column=
"reason"
/>
<collection
property=
"pilotAbility"
ofType=
"com.mmc.iuav.user.model.vo.dronepilot.PilotAbilityVO"
select=
"selectAbilityList"
column=
"{pilotCertificationId=id}"
>
...
...
@@ -152,12 +154,15 @@
pc.update_time,
rna.user_name,
rna.birthday,
rna.sex ,
ua.phone_num
rna.sex,
ua.phone_num,
pc.reason_id,
pr.reason
FROM
pilot_certification pc
LEFT JOIN real_name_auth rna ON pc.user_account_id = rna.user_account_id
left join user_account ua on pc.user_account_id=ua.id
LEFT JOIN user_account ua ON pc.user_account_id = ua.id
LEFT JOIN pilot_reason pr ON pc.reason_id = pr.id
WHERE
1 =1
<if
test=
" areaNumber != null and areaNumber != '' "
>
...
...
@@ -200,10 +205,13 @@
rna.user_name,
rna.birthday,
rna.sex,
ua.phone_num
ua.phone_num,
pc.reason_id,
pr.reason
FROM pilot_certification pc
LEFT JOIN real_name_auth rna ON pc.user_account_id = rna.user_account_id
LEFT JOIN user_account ua ON pc.user_account_id = ua.id
LEFT JOIN pilot_reason pr ON pr.id = pc.reason_id
WHERE pc.id = #{id}
</select>
...
...
@@ -226,10 +234,13 @@
rna.user_name,
rna.birthday,
rna.sex,
ua.phone_num
ua.phone_num,
pc.reason_id,
pr.reason
FROM pilot_certification pc
LEFT JOIN real_name_auth rna ON pc.user_account_id = rna.user_account_id
LEFT JOIN user_account ua ON pc.user_account_id = ua.id
LEFT JOIN pilot_reason pr ON pc.reason_id = pr.id
WHERE pc.user_account_id = #{userAccountId}
</select>
...
...
@@ -247,7 +258,7 @@
UPDATE pilot_certification
<set>
audit_status = #{auditStatus},
reason
=#{reason
},
reason
_id=#{reasonId
},
operator_user_id=#{operatorUserId},
update_time=NOW()
</set>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论