Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
425a4d0d
Commit
425a4d0d
authored
Mar 18, 2022
by
chenjunxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build(web): 修改excel导出列表
parent
62004cd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
jeecg-boot-parent/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/pm/controller/PmAccessControlDeviceController.java
+1
-1
jeecg-boot-parent/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/pm/entity/PmAccessControlDevice.java
+4
-2
No files found.
jeecg-boot-parent/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/pm/controller/PmAccessControlDeviceController.java
View file @
425a4d0d
...
...
@@ -33,7 +33,7 @@ import java.util.List;
@Slf4j
public
class
PmAccessControlDeviceController
extends
JeecgController
<
PmAccessControlDevice
,
IPmAccessControlDeviceService
>
{
private
static
final
List
<
String
>
TYPES
=
Arrays
.
asList
(
"
type-1"
,
"type-2"
,
"type-3
"
);
private
static
final
List
<
String
>
TYPES
=
Arrays
.
asList
(
"
出入口闸机"
,
"访客一体机"
,
"自助访客机"
,
"身份证读卡器"
,
"人脸识别
"
);
@Autowired
private
IPmAccessControlDeviceService
pmAccessControlDeviceService
;
...
...
jeecg-boot-parent/jeecg-boot-module-demo/src/main/java/org/jeecg/modules/demo/pm/entity/PmAccessControlDevice.java
View file @
425a4d0d
...
...
@@ -34,6 +34,7 @@ public class PmAccessControlDevice implements Serializable {
/**
* id
*/
@Excel
(
name
=
"id"
,
width
=
15
)
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ApiModelProperty
(
value
=
"id"
)
private
Long
id
;
...
...
@@ -151,6 +152,7 @@ public class PmAccessControlDevice implements Serializable {
/**
* 创建时间
*/
@Excel
(
name
=
"修改时间"
,
width
=
15
,
format
=
"yyyy-MM-dd hh:mm:ss"
)
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd hh:mm:ss"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"创建时间"
)
...
...
@@ -158,8 +160,8 @@ public class PmAccessControlDevice implements Serializable {
/**
* 修改时间
*/
@Excel
(
name
=
"修改时间"
,
width
=
15
,
format
=
"yyyy-MM-dd"
)
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"修改时间"
,
width
=
15
,
format
=
"yyyy-MM-dd
hh:mm:ss
"
)
@JsonFormat
(
timezone
=
"GMT+8"
,
pattern
=
"yyyy-MM-dd
hh:mm:ss
"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@ApiModelProperty
(
value
=
"修改时间"
)
private
Date
modifyTime
;
...
...
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