Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
8c733847
Commit
8c733847
authored
Aug 08, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/attendance-performance-platform
parents
0577500b
cf5967ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/model/vo/AttendanceRecordVo.java
...ls/xhx/module/attendance/model/vo/AttendanceRecordVo.java
+2
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordController.java
...xhx/module/attendance/web/AttendanceRecordController.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordHikController.java
.../module/attendance/web/AttendanceRecordHikController.java
+2
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/model/vo/AttendanceRecordVo.java
View file @
8c733847
...
@@ -20,9 +20,9 @@ public class AttendanceRecordVo extends BaseEntityLong {
...
@@ -20,9 +20,9 @@ public class AttendanceRecordVo extends BaseEntityLong {
private
List
<
AttendanceGroupFixedworkSpecialVo
>
list
;
private
List
<
AttendanceGroupFixedworkSpecialVo
>
list
;
@Excels
({
@Excels
({
@Excel
(
name
=
"上班打卡时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
,
targetAttr
=
"goWorkDate"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"上班打卡时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
,
targetAttr
=
"goWorkDate"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"上班打卡结果"
,
readConverterExp
=
"1=正常,2=请假,3=缺卡,4=迟到,5=早退"
,
targetAttr
=
"goWorkResult"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"上班打卡结果"
,
readConverterExp
=
"1=正常,2=请假,3=缺卡,4=迟到,5=早退"
,
targetAttr
=
"goWorkResult"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"下班打卡时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
,
targetAttr
=
"offWorkDate"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"下班打卡时间"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd
HH:mm:ss
"
,
targetAttr
=
"offWorkDate"
,
type
=
Excel
.
Type
.
EXPORT
),
@Excel
(
name
=
"下班打卡结果"
,
readConverterExp
=
"1=正常,2=请假,3=缺卡,4=迟到,5=早退"
,
targetAttr
=
"offWorkResult"
,
type
=
Excel
.
Type
.
EXPORT
)
@Excel
(
name
=
"下班打卡结果"
,
readConverterExp
=
"1=正常,2=请假,3=缺卡,4=迟到,5=早退"
,
targetAttr
=
"offWorkResult"
,
type
=
Excel
.
Type
.
EXPORT
)
})
})
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordController.java
View file @
8c733847
...
@@ -171,7 +171,7 @@ public class AttendanceRecordController extends BaseCRUDJsonBodyMappingControlle
...
@@ -171,7 +171,7 @@ public class AttendanceRecordController extends BaseCRUDJsonBodyMappingControlle
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"attendanceDate"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"staffName"
,
OrderCol
.
DESCENDING
)));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"attendanceDate"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"staffName"
,
OrderCol
.
DESCENDING
)));
}
else
{
}
else
{
query
.
getOrderColList
().
add
(
new
OrderCol
(
"attendanceDate"
,
OrderCol
.
DESCENDING
));
query
.
getOrderColList
().
add
(
new
OrderCol
(
"attendanceDate"
,
OrderCol
.
DESCENDING
));
query
.
getOrderColList
().
add
(
new
OrderCol
(
"staffName"
,
OrderCol
.
DESCENDING
));
//
query.getOrderColList().add(new OrderCol("staffName", OrderCol.DESCENDING));
}
}
super
.
doListBefore
(
query
,
model
,
context
);
super
.
doListBefore
(
query
,
model
,
context
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordHikController.java
View file @
8c733847
...
@@ -161,9 +161,9 @@ public class AttendanceRecordHikController extends BaseCRUDJsonBodyMappingContro
...
@@ -161,9 +161,9 @@ public class AttendanceRecordHikController extends BaseCRUDJsonBodyMappingContro
}
}
if
(
ObjectUtils
.
isEmpty
(
query
.
getOrderColList
()))
{
if
(
ObjectUtils
.
isEmpty
(
query
.
getOrderColList
()))
{
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"
createTim
e"
,
OrderCol
.
DESCENDING
)));
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"
attendanceDat
e"
,
OrderCol
.
DESCENDING
)));
}
else
{
}
else
{
query
.
getOrderColList
().
add
(
new
OrderCol
(
"
createTim
e"
,
OrderCol
.
DESCENDING
));
query
.
getOrderColList
().
add
(
new
OrderCol
(
"
attendanceDat
e"
,
OrderCol
.
DESCENDING
));
}
}
super
.
doListBefore
(
query
,
model
,
context
);
super
.
doListBefore
(
query
,
model
,
context
);
...
...
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