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
e4f1bda6
Commit
e4f1bda6
authored
Aug 28, 2023
by
姬鋆屾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/attendance-performance-platform
parents
deb06ea3
b4e4e0ab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/work/FixWorkOtherAttendance.java
...odule/attendance/service/work/FixWorkOtherAttendance.java
+3
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceStatController.java
...s/xhx/module/attendance/web/AttendanceStatController.java
+1
-1
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/service/work/FixWorkOtherAttendance.java
View file @
e4f1bda6
...
@@ -158,7 +158,7 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
...
@@ -158,7 +158,7 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
recordDetailEntity
.
setGoWorkDate
(
DateUtil
.
parse
(
commonData
.
getDateStr
()
+
" "
+
DateUtil
.
formatTime
(
classDetailEntity
.
getGoWorkDate
())));
recordDetailEntity
.
setGoWorkDate
(
DateUtil
.
parse
(
commonData
.
getDateStr
()
+
" "
+
DateUtil
.
formatTime
(
classDetailEntity
.
getGoWorkDate
())));
recordDetailEntity
.
setOffWorkResult
(
GoWorkResultEnum
.
缺卡
.
getValue
());
recordDetailEntity
.
setOffWorkResult
(
GoWorkResultEnum
.
缺卡
.
getValue
());
recordDetailEntity
.
setOffWorkDate
(
DateUtil
.
parse
(
commonData
.
getDateStr
()
+
" "
+
DateUtil
.
formatTime
(
classDetailEntity
.
get
Go
WorkDate
())));
recordDetailEntity
.
setOffWorkDate
(
DateUtil
.
parse
(
commonData
.
getDateStr
()
+
" "
+
DateUtil
.
formatTime
(
classDetailEntity
.
get
Off
WorkDate
())));
recordDetailEntity
.
setOrderNum
(
orderNum
);
recordDetailEntity
.
setOrderNum
(
orderNum
);
commonData
.
getDetailEntityList
().
add
(
recordDetailEntity
);
commonData
.
getDetailEntityList
().
add
(
recordDetailEntity
);
...
@@ -244,8 +244,8 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
...
@@ -244,8 +244,8 @@ public class FixWorkOtherAttendance extends AttendanceWorkAbstract {
if
(
next
.
getOffWorkResult
()
==
OffWorkResultEnum
.
缺卡
.
getValue
())
{
if
(
next
.
getOffWorkResult
()
==
OffWorkResultEnum
.
缺卡
.
getValue
())
{
if
(
DateUtil
.
compare
(
new
Date
(),
next
.
getOffWorkDate
())
<
0
)
{
if
(
DateUtil
.
compare
(
new
Date
(),
next
.
getOffWorkDate
())
<
0
)
{
next
.
set
Go
WorkDate
(
null
);
next
.
set
Off
WorkDate
(
null
);
next
.
set
GoWorkResult
(
Go
WorkResultEnum
.
正常
.
getValue
());
next
.
set
OffWorkResult
(
Off
WorkResultEnum
.
正常
.
getValue
());
}
}
}
}
}
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/attendance/web/AttendanceStatController.java
View file @
e4f1bda6
...
@@ -226,7 +226,7 @@ public class AttendanceStatController extends BaseCRUDJsonBodyMappingController<
...
@@ -226,7 +226,7 @@ public class AttendanceStatController extends BaseCRUDJsonBodyMappingController<
collect
=
attendanceStaffStatEntities
.
stream
().
collect
(
Collectors
.
toMap
(
x
->
x
.
getYear
()
+
x
.
getMonth
()
+
x
.
getDay
(),
y
->
y
.
getAttendanceSummary
()));
collect
=
attendanceStaffStatEntities
.
stream
().
collect
(
Collectors
.
toMap
(
x
->
x
.
getYear
()
+
x
.
getMonth
()
+
x
.
getDay
(),
y
->
y
.
getAttendanceSummary
()));
}
}
List
<
Map
<
String
,
Object
>>
mapList
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
mapList
=
new
ArrayList
<>();
for
(
int
i
=
1
;
i
<=
subDay
.
intValue
();
i
++)
{
for
(
int
i
=
0
;
i
<=
subDay
.
intValue
();
i
++)
{
DateTime
curDate
=
DateUtil
.
offsetDay
(
startDate
,
i
);
DateTime
curDate
=
DateUtil
.
offsetDay
(
startDate
,
i
);
//判断详细是否存在,如果不存在 则构造一个空的
//判断详细是否存在,如果不存在 则构造一个空的
Integer
year
=
DateUtil
.
year
(
curDate
);
Integer
year
=
DateUtil
.
year
(
curDate
);
...
...
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