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
65b8f734
Commit
65b8f734
authored
May 08, 2025
by
王果
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
36671 子 【一张图替换站端系统】-自动化数据处理 / 数据同步:消防及运维人员
parent
83b10d74
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
76 additions
and
0 deletions
+76
-0
AdpterController.java
.../com/yeejoin/amos/adpter/controller/AdpterController.java
+7
-0
PersonExcelModel.java
.../java/com/yeejoin/amos/adpter/model/PersonExcelModel.java
+69
-0
AdpterService.java
...n/java/com/yeejoin/amos/adpter/service/AdpterService.java
+0
-0
No files found.
amos-boot-utils/amos-boot-utils-adpter/src/main/java/com/yeejoin/amos/adpter/controller/AdpterController.java
View file @
65b8f734
...
...
@@ -69,4 +69,10 @@ public class AdpterController {
public
void
systemExcel
(
HttpServletResponse
response
,
String
gatewayId
)
throws
IOException
{
adpterService
.
buildingExcel
(
response
,
gatewayId
);
}
@ApiOperation
(
value
=
"人员信息"
)
@RequestMapping
(
value
=
"/personExcel"
,
method
=
RequestMethod
.
POST
)
public
void
personExcel
(
HttpServletResponse
response
)
throws
IOException
{
adpterService
.
personExcel
(
response
);
}
}
\ No newline at end of file
amos-boot-utils/amos-boot-utils-adpter/src/main/java/com/yeejoin/amos/adpter/model/PersonExcelModel.java
0 → 100644
View file @
65b8f734
package
com
.
yeejoin
.
amos
.
adpter
.
model
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.experimental.SuperBuilder
;
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
public
class
PersonExcelModel
{
@ExcelProperty
(
value
=
"编号"
,
index
=
0
)
private
String
code
;
@ExcelProperty
(
value
=
"上级编号"
,
index
=
1
)
private
String
parentCode
;
@ExcelProperty
(
value
=
"对象类型"
,
index
=
2
)
private
String
objType
;
@ExcelProperty
(
value
=
"网关名称"
,
index
=
3
)
private
String
gatewayName
;
@ExcelProperty
(
value
=
"类型"
,
index
=
4
)
private
String
type
;
@ExcelProperty
(
value
=
"消防岗位"
,
index
=
5
)
private
String
firePost
;
@ExcelProperty
(
value
=
"姓名"
,
index
=
6
)
private
String
name
;
@ExcelProperty
(
value
=
"岗位"
,
index
=
7
)
private
String
post
;
@ExcelProperty
(
value
=
"电话"
,
index
=
8
)
private
String
phone
;
@ExcelProperty
(
value
=
"员工编号"
,
index
=
9
)
private
String
num
;
@ExcelProperty
(
value
=
"性别"
,
index
=
10
)
private
String
gender
;
@ExcelProperty
(
value
=
"证件类型"
,
index
=
11
)
private
String
idType
;
@ExcelProperty
(
value
=
"证件号码"
,
index
=
12
)
private
String
idNum
;
@ExcelProperty
(
value
=
"出生日期"
,
index
=
13
)
private
String
birth
;
@ExcelProperty
(
value
=
"岗位资质"
,
index
=
14
)
private
String
qualification
;
@ExcelProperty
(
value
=
"资质到期日期"
,
index
=
15
)
private
String
qualificationExpDate
;
@ExcelProperty
(
value
=
"是否进行安全培训"
,
index
=
16
)
private
String
safetyTraining
;
@ExcelProperty
(
value
=
"是否准入(外围人员)"
,
index
=
17
)
private
String
admitted
;
}
amos-boot-utils/amos-boot-utils-adpter/src/main/java/com/yeejoin/amos/adpter/service/AdpterService.java
View file @
65b8f734
This diff is collapsed.
Click to expand it.
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