Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
20ba198d
提交
20ba198d
authored
5月 26, 2023
作者:
余乾开
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop'
上级
12ef2611
823f5ad6
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
6 行增加
和
7 行删除
+6
-7
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
PilotRegistrationDO.java
.../java/com/mmc/csf/release/entity/PilotRegistrationDO.java
+2
-2
FlyerTrainingService.java
...ava/com/mmc/csf/release/service/FlyerTrainingService.java
+0
-1
FlyerTrainingServiceImpl.java
...mc/csf/release/service/impl/FlyerTrainingServiceImpl.java
+1
-1
FlyerTrainingDao.xml
...vice/src/main/resources/mapper/flyer/FlyerTrainingDao.xml
+2
-2
没有找到文件。
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
20ba198d
...
@@ -17,4 +17,4 @@ patches:
...
@@ -17,4 +17,4 @@ patches:
images
:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/ims
newTag
:
cf075ff8f7b24e87f2697d4d78c3493a6e164adc
newTag
:
7db6bb0d7751383a9dbccadb1ed9b25f63eb7724
release-service/src/main/java/com/mmc/csf/release/entity/PilotRegistrationDO.java
浏览文件 @
20ba198d
...
@@ -50,8 +50,8 @@ public class PilotRegistrationDO implements Serializable {
...
@@ -50,8 +50,8 @@ public class PilotRegistrationDO implements Serializable {
private
Date
updateTime
;
private
Date
updateTime
;
private
Integer
deleted
;
private
Integer
deleted
;
public
PilotRegistrationDO
(
RegistrationVO
registrationVO
,
Integer
id
)
{
public
PilotRegistrationDO
(
RegistrationVO
registrationVO
)
{
this
.
applyUserId
=
id
;
this
.
applyUserId
=
registrationVO
.
getId
()
;
this
.
name
=
registrationVO
.
getName
();
this
.
name
=
registrationVO
.
getName
();
this
.
city
=
registrationVO
.
getCity
();
this
.
city
=
registrationVO
.
getCity
();
this
.
telephone
=
registrationVO
.
getTelephone
();
this
.
telephone
=
registrationVO
.
getTelephone
();
...
...
release-service/src/main/java/com/mmc/csf/release/service/FlyerTrainingService.java
浏览文件 @
20ba198d
...
@@ -15,7 +15,6 @@ public interface FlyerTrainingService {
...
@@ -15,7 +15,6 @@ public interface FlyerTrainingService {
* 飞手报名
* 飞手报名
*
*
* @param registrationVO 注册信息
* @param registrationVO 注册信息
* @param id id
* @return {@link ResultBody}
* @return {@link ResultBody}
*/
*/
ResultBody
pilotRegistration
(
RegistrationVO
registrationVO
);
ResultBody
pilotRegistration
(
RegistrationVO
registrationVO
);
...
...
release-service/src/main/java/com/mmc/csf/release/service/impl/FlyerTrainingServiceImpl.java
浏览文件 @
20ba198d
...
@@ -34,7 +34,7 @@ public class FlyerTrainingServiceImpl implements FlyerTrainingService {
...
@@ -34,7 +34,7 @@ public class FlyerTrainingServiceImpl implements FlyerTrainingService {
@Override
@Override
public
ResultBody
pilotRegistration
(
RegistrationVO
registrationVO
)
{
public
ResultBody
pilotRegistration
(
RegistrationVO
registrationVO
)
{
PilotRegistrationDO
pilotRegistrationDO
=
new
PilotRegistrationDO
(
registrationVO
,
registrationVO
.
getId
()
);
PilotRegistrationDO
pilotRegistrationDO
=
new
PilotRegistrationDO
(
registrationVO
);
if
(
CollectionUtils
.
isNotEmpty
(
registrationVO
.
getIndustryAppAuth
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
registrationVO
.
getIndustryAppAuth
()))
{
// 将行业应用认证的id用逗号拼接
// 将行业应用认证的id用逗号拼接
String
industryAppAuth
=
registrationVO
.
getIndustryAppAuth
().
stream
().
map
(
Object:
:
toString
).
collect
(
Collectors
.
joining
(
","
));
String
industryAppAuth
=
registrationVO
.
getIndustryAppAuth
().
stream
().
map
(
Object:
:
toString
).
collect
(
Collectors
.
joining
(
","
));
...
...
release-service/src/main/resources/mapper/flyer/FlyerTrainingDao.xml
浏览文件 @
20ba198d
...
@@ -6,9 +6,9 @@
...
@@ -6,9 +6,9 @@
<insert
id=
"insertPilotRegistrationInfo"
parameterType=
"com.mmc.csf.release.entity.PilotRegistrationDO"
<insert
id=
"insertPilotRegistrationInfo"
parameterType=
"com.mmc.csf.release.entity.PilotRegistrationDO"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
useGeneratedKeys=
"true"
keyProperty=
"id"
>
INSERT INTO pilot_registration(
id,
apply_user_id, `name`, city, telephone, driving_license, province,
INSERT INTO pilot_registration(apply_user_id, `name`, city, telephone, driving_license, province,
uav_license, industry_app_auth, remark)
uav_license, industry_app_auth, remark)
VALUES (#{
id}, #{
applyUserId}, #{name}, #{city}, #{telephone}, #{drivingLicense}, #{province}, #{uavLicense},
VALUES (#{applyUserId}, #{name}, #{city}, #{telephone}, #{drivingLicense}, #{province}, #{uavLicense},
#{industryAppAuth}, #{remark})
#{industryAppAuth}, #{remark})
</insert>
</insert>
<select
id=
"selectAllLicenses"
resultType=
"com.mmc.csf.release.flyer.vo.DronePilotLicenseVO"
>
<select
id=
"selectAllLicenses"
resultType=
"com.mmc.csf.release.flyer.vo.DronePilotLicenseVO"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论