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
aaba4a11
Commit
aaba4a11
authored
May 28, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 请假记录 每人考勤显示
parent
d5a2c815
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/work/FixWorkOtherAttendance.java
...odule/attendance/service/work/FixWorkOtherAttendance.java
+4
-4
attendance-performance-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+2
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/work/FixWorkOtherAttendance.java
View file @
aaba4a11
...
...
@@ -385,11 +385,11 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
Date
goWorkDate
=
detail
.
getGoWorkDate
();
Date
offWorkDate
=
detail
.
getOffWorkDate
();
if
(
GoWorkResultEnum
.
正常
.
getValue
()
!=
goWorkResult
)
{
if
(
GoWorkResultEnum
.
请假
.
getValue
()
<
goWorkResult
)
{
//判断 异常记录是否在请假时间段内
// DateUtil.between()
if
(
ObjectUtils
.
isEmpty
(
goWorkDate
)){
detail
.
setGoWorkResult
(
GoWorkResultEnum
.
正常
.
getValue
());
detail
.
setGoWorkResult
(
GoWorkResultEnum
.
请假
.
getValue
());
}
else
{
boolean
in
=
DateUtil
.
isIn
(
goWorkDate
,
startLeaveTime
,
endLeaveTime
);
if
(
in
)
{
...
...
@@ -399,11 +399,11 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
}
if
(
GoWorkResultEnum
.
正常
.
getValue
()
!=
offWorkResult
)
{
if
(
GoWorkResultEnum
.
请假
.
getValue
()
<
offWorkResult
)
{
//判断 异常记录是否在请假时间段内
// DateUtil.between()
if
(
ObjectUtils
.
isEmpty
(
offWorkDate
)){
detail
.
setOffWorkResult
(
GoWorkResultEnum
.
正常
.
getValue
());
detail
.
setOffWorkResult
(
GoWorkResultEnum
.
请假
.
getValue
());
}
else
{
boolean
in
=
DateUtil
.
isIn
(
offWorkDate
,
startLeaveTime
,
endLeaveTime
);
if
(
in
)
{
...
...
attendance-performance-manager/src/test/java/com/mortals/httpclient/system.http
View file @
aaba4a11
...
...
@@ -58,8 +58,8 @@ POST {{baseUrl}}/attendance/record/hik/addAttendanceRecordCustom
Content-Type: application/json
{
"attendanceDateStart": "2024-05-
01
",
"attendanceDateEnd": "2024-05-
19
"
"attendanceDateStart": "2024-05-
22
",
"attendanceDateEnd": "2024-05-
28
"
}
...
...
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