Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
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
fulixin
dsk-operate-sys-cscec
Commits
1e24d93b
Commit
1e24d93b
authored
Nov 02, 2023
by
施翔轲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新用户批量导入模板举例数据
parent
51fe353c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SysUserController.java
...java/com/dsk/web/controller/system/SysUserController.java
+1
-1
No files found.
dsk-admin/src/main/java/com/dsk/web/controller/system/SysUserController.java
View file @
1e24d93b
...
@@ -147,7 +147,7 @@ public class SysUserController extends BaseController {
...
@@ -147,7 +147,7 @@ public class SysUserController extends BaseController {
@PostMapping
(
"/importTemplate"
)
@PostMapping
(
"/importTemplate"
)
public
void
importTemplate
(
HttpServletResponse
response
)
{
public
void
importTemplate
(
HttpServletResponse
response
)
{
List
<
Object
>
list
=
new
ArrayList
<>();
List
<
Object
>
list
=
new
ArrayList
<>();
list
.
add
(
new
SysUserImportVo
(
"
测试组织"
,
"测试用户昵称"
,
"18888888888"
,
"测试角色
"
));
list
.
add
(
new
SysUserImportVo
(
"
重庆市轨道交通(集团)有限公司"
,
"刘国海"
,
"18888888888"
,
"运营部部长
"
));
ExcelUtil
.
exportTemplate
(
list
,
"用户数据"
,
"excel/userImportTemplate.xlsx"
,
response
);
ExcelUtil
.
exportTemplate
(
list
,
"用户数据"
,
"excel/userImportTemplate.xlsx"
,
response
);
}
}
...
...
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