Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
73fb7e6a
Commit
73fb7e6a
authored
Sep 13, 2021
by
xixinzhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
e82f6fb6
ac58b1d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
21 deletions
+41
-21
FirefightersExcelDto.java
...amos/boot/module/common/api/dto/FirefightersExcelDto.java
+24
-21
Firefighters.java
...join/amos/boot/module/common/api/entity/Firefighters.java
+7
-0
jcs-1.0.0.0.xml
...ystem-jcs/src/main/resources/db/changelog/jcs-1.0.0.0.xml
+10
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/FirefightersExcelDto.java
View file @
73fb7e6a
...
...
@@ -83,39 +83,42 @@ public class FirefightersExcelDto extends BaseDto {
@ApiModelProperty
(
value
=
"婚姻状况"
)
private
String
maritalStatus
;
@ExcelIgnore
@ApiModelProperty
(
value
=
"籍贯/户口所在地"
)
private
String
nativePlace
;
@ExplicitConstraint
(
indexNum
=
10
,
sourceClass
=
RoleNameExplicitConstraint
.
class
,
method
=
"getCitys"
)
//动态下拉内容// BUG 2760 修改消防人员导出模板和 导入问题 bykongfm
@ExcelProperty
(
value
=
"户籍所在地"
,
index
=
10
)
@ApiModelProperty
(
value
=
"籍贯/户口所在地的值"
)
private
String
nativePlaceValue
;
@ExplicitConstraint
(
indexNum
=
11
,
sourceClass
=
RoleNameExplicitConstraint
.
class
,
method
=
"getPoliticalOutlook"
)
//固定下拉内容
@ExcelProperty
(
value
=
"政治面貌"
,
index
=
11
)
// BUG 3658 优化 by kongfm 2021-09-13 需求详细说明 1. 添加两个字段 2. 地区选择联动 只有新增时带联动 编辑时不带联动 3. 导出模板及导入同步修改
@ExcelProperty
(
value
=
"籍贯/户口所在地详细地址"
,
index
=
11
)
@ApiModelProperty
(
value
=
"籍贯/户口所在地详细地址"
)
private
String
nativePlaceVal
;
@ExplicitConstraint
(
indexNum
=
12
,
sourceClass
=
RoleNameExplicitConstraint
.
class
,
method
=
"getPoliticalOutlook"
)
//固定下拉内容
@ExcelProperty
(
value
=
"政治面貌"
,
index
=
12
)
@ApiModelProperty
(
value
=
"政治面貌代码"
)
private
String
politicalOutlook
;
@ExplicitConstraint
(
indexNum
=
1
2
,
sourceClass
=
RoleNameExplicitConstraint
.
class
,
method
=
"getCitys"
)
//动态下拉内容// BUG 2760 修改消防人员导出模板和 导入问题 bykongfm
@ExcelProperty
(
value
=
"现居住地"
,
index
=
1
2
)
@ExplicitConstraint
(
indexNum
=
1
3
,
sourceClass
=
RoleNameExplicitConstraint
.
class
,
method
=
"getCitys"
)
//动态下拉内容// BUG 2760 修改消防人员导出模板和 导入问题 bykongfm
@ExcelProperty
(
value
=
"现居住地"
,
index
=
1
3
)
@ApiModelProperty
(
value
=
"现居住地"
)
private
String
residence
;
// BUG 3658 优化 by kongfm 2021-09-13 需求详细说明 1. 添加两个字段 2. 地区选择联动 只有新增时带联动 编辑时不带联动 3. 导出模板及导入同步修改
@ExcelProperty
(
value
=
"现居住地详细地址"
,
index
=
14
)
@ApiModelProperty
(
value
=
"现居住地详细地址"
)
private
String
residenceDetailVal
;
@ExcelIgnore
@ApiModelProperty
(
value
=
"现居住地详情"
)
private
String
residenceDetails
;
@ExcelProperty
(
value
=
"机场住宿情况"
,
index
=
13
)
@ExcelProperty
(
value
=
"机场住宿情况"
,
index
=
15
)
@ApiModelProperty
(
value
=
"机场住宿情况"
)
private
String
airportAccommodation
;
@ExcelProperty
(
value
=
"联系电话"
,
index
=
1
4
)
@ExcelProperty
(
value
=
"联系电话"
,
index
=
1
6
)
@ApiModelProperty
(
value
=
"手机"
)
private
String
mobilePhone
;
@ExplicitConstraint
(
type
=
"RYZT"
,
indexNum
=
1
5
,
sourceClass
=
RoleNameExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"人员状态"
,
index
=
1
5
)
@ExplicitConstraint
(
type
=
"RYZT"
,
indexNum
=
1
7
,
sourceClass
=
RoleNameExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"人员状态"
,
index
=
1
7
)
@ApiModelProperty
(
value
=
"人员状态,在职/离职"
)
private
String
state
;
...
...
@@ -123,21 +126,21 @@ public class FirefightersExcelDto extends BaseDto {
@ApiModelProperty
(
value
=
"人员状态,在职/离职字典code"
)
private
String
stateCode
;
@ExplicitConstraint
(
type
=
"GWMC"
,
indexNum
=
1
6
,
sourceClass
=
RoleNameExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"岗位名称"
,
index
=
1
6
)
@ExplicitConstraint
(
type
=
"GWMC"
,
indexNum
=
1
8
,
sourceClass
=
RoleNameExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"岗位名称"
,
index
=
1
8
)
@ApiModelProperty
(
value
=
"岗位名称"
)
private
String
jobTitle
;
@ExcelProperty
(
value
=
"紧急联系人姓名"
,
index
=
1
7
)
@ExcelProperty
(
value
=
"紧急联系人姓名"
,
index
=
1
9
)
@ApiModelProperty
(
value
=
"紧急联系人姓名"
)
private
String
emergencyContact
;
@ExplicitConstraint
(
type
=
"RJGX"
,
indexNum
=
18
,
sourceClass
=
RoleNameExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"与紧急联系人关系"
,
index
=
18
)
@ExplicitConstraint
(
type
=
"RJGX"
,
indexNum
=
20
,
sourceClass
=
RoleNameExplicitConstraint
.
class
)
//动态下拉内容
@ExcelProperty
(
value
=
"与紧急联系人关系"
,
index
=
20
)
@ApiModelProperty
(
value
=
"紧急联系人与本人所属关系"
)
private
String
relationship
;
@ExcelProperty
(
value
=
"紧急联系人电话"
,
index
=
19
)
@ExcelProperty
(
value
=
"紧急联系人电话"
,
index
=
21
)
@ApiModelProperty
(
value
=
"紧急联系人电话"
)
private
String
emergencyContactPhone
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/Firefighters.java
View file @
73fb7e6a
...
...
@@ -122,4 +122,11 @@ public class Firefighters extends BaseEntity {
@ApiModelProperty
(
value
=
"籍贯/户口所在地的值"
)
private
String
nativePlaceValue
;
// BUG 3658 优化 by kongfm 2021-09-13 需求详细说明 1. 添加两个字段 2. 地区选择联动 只有新增时带联动 编辑时不带联动 3. 导出模板及导入同步修改
@ApiModelProperty
(
value
=
"户籍所在地详细地址"
)
private
String
nativePlaceVal
;
@ApiModelProperty
(
value
=
"现居住地详细地址"
)
private
String
residenceDetailVal
;
}
amos-boot-system-jcs/src/main/resources/db/changelog/jcs-1.0.0.0.xml
View file @
73fb7e6a
...
...
@@ -312,4 +312,14 @@
'调派任务状态(执行中:executing,已完成:finished)';
</sql>
</changeSet>
<changeSet
author=
"kongfm"
id=
"2021-09-13-kongfm-1"
>
<preConditions
onFail=
"MARK_RAN"
>
<tableExists
tableName=
"cb_firefighters"
/>
</preConditions>
<comment>
BUG 3658 优化 by kongfm 2021-09-13 需求详细说明 1. 添加两个字段 2. 地区选择联动 只有新增时带联动 编辑时不带联动 3. 导出模板及导入同步修改
</comment>
<sql>
ALTER TABLE `cb_firefighters` add native_place_val varchar(255) COMMENT '户籍所在地详细地址';
ALTER TABLE `cb_firefighters` add residence_detail_val varchar(255) COMMENT '现居住地详细地址';
</sql>
</changeSet>
</databaseChangeLog>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment