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
57b18b2d
Commit
57b18b2d
authored
Aug 22, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改本月统计
parent
0f0d2d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordController.java
...xhx/module/attendance/web/AttendanceRecordController.java
+3
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceRecordController.java
View file @
57b18b2d
...
@@ -106,14 +106,15 @@ public class AttendanceRecordController extends BaseCRUDJsonBodyMappingControlle
...
@@ -106,14 +106,15 @@ public class AttendanceRecordController extends BaseCRUDJsonBodyMappingControlle
@Override
@Override
public
void
doExportBefore
(
Context
context
,
AttendanceRecordEntity
query
,
List
<
String
>
properties
)
throws
AppException
{
public
void
doExportBefore
(
Context
context
,
AttendanceRecordEntity
query
,
List
<
String
>
properties
)
throws
AppException
{
String
bool
=
cacheService
.
get
(
RedisCacheKeys
.
getRecordExportLockKey
());
String
bool
=
cacheService
.
get
(
RedisCacheKeys
.
getRecordExportLockKey
());
if
(!
ObjectUtils
.
isEmpty
(
bool
))
{
if
(!
ObjectUtils
.
isEmpty
(
bool
))
{
throw
new
AppException
(
"每日数据正在导出中,请稍后再试!"
);
throw
new
AppException
(
"每日数据正在导出中,请稍后再试!"
);
}
}
cacheService
.
set
(
RedisCacheKeys
.
getRecordExportLockKey
(),
"111"
,
120L
);
cacheService
.
set
(
RedisCacheKeys
.
getRecordExportLockKey
(),
"111"
,
120L
);
query
.
setOrderColList
(
Arrays
.
asList
(
new
OrderCol
(
"attendanceDate"
,
OrderCol
.
DESCENDING
),
new
OrderCol
(
"staffName"
,
OrderCol
.
DESCENDING
)));
if
(!
ObjectUtils
.
isEmpty
(
query
.
getProperties
()))
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getProperties
()))
{
/* //通过属性转换为注解
/* //通过属性转换为注解
List<Field> tempFields = new ArrayList<>();
List<Field> tempFields = new ArrayList<>();
...
...
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