Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 9d1bb726
authored
Jan 27, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge remote-tracking branch 'origin/v5.6.0' into v5.6.0
2 parents
c2f615b3
53eb2cf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/AttendanceDataCleansingService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/AttendanceDataCleansingService.java
View file @
9d1bb72
...
...
@@ -885,11 +885,27 @@ public class AttendanceDataCleansingService {
lateEarlyMinutes
=
NumberUtil
.
add
(
lateEarlyMinutes
,
lateMinutes
);
// 计算打卡数
normalClockCount
++;
// 增加工时
if
(
isAfterOfficialDate
)
{
correctionHours
=
NumberUtil
.
add
(
correctionHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"策略一:处理迟到不早退转正出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
else
{
probationHours
=
NumberUtil
.
add
(
probationHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"策略一:处理迟到不早退试用期出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
}
else
if
(!
isLate
&&
!
isClockInMissing
&&
isEarly
)
{
// 不迟到(不缺卡)但早退 计算今天考勤工时
lateEarlyMinutes
=
NumberUtil
.
add
(
lateEarlyMinutes
,
earlyMinutes
);
// 计算打卡数
normalClockCount
++;
// 增加工时
if
(
isAfterOfficialDate
)
{
correctionHours
=
NumberUtil
.
add
(
correctionHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"策略一:处理迟到不早退转正出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
else
{
probationHours
=
NumberUtil
.
add
(
probationHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"策略一:处理迟到不早退试用期出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
}
// lateEarlyHours = new BigDecimal(Math.ceil(lateEarlyMinutes.doubleValue() / 30.0) * 0.5);
ClockInResult
clockInResult
=
new
ClockInResult
();
...
...
@@ -1051,11 +1067,27 @@ public class AttendanceDataCleansingService {
lateEarlyMinutes
=
NumberUtil
.
add
(
lateEarlyMinutes
,
lateMinutes
);
// 计算打卡数
normalClockCount
++;
// 增加工时
if
(
isAfterOfficialDate
)
{
correctionHours
=
NumberUtil
.
add
(
correctionHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"默认策略:处理迟到不早退转正出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
else
{
probationHours
=
NumberUtil
.
add
(
probationHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"默认策略:处理迟到不早退试用期出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
}
else
if
(!
isLate
&&
!
isClockInMissing
&&
isEarly
)
{
// 不迟到(不缺卡)但早退 计算今天考勤工时
lateEarlyMinutes
=
NumberUtil
.
add
(
lateEarlyMinutes
,
earlyMinutes
);
// 计算打卡数
normalClockCount
++;
// 增加工时
if
(
isAfterOfficialDate
)
{
correctionHours
=
NumberUtil
.
add
(
correctionHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"默认策略:处理迟到不早退转正出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
else
{
probationHours
=
NumberUtil
.
add
(
probationHours
,
new
BigDecimal
(
"8"
));
log
.
info
(
"默认策略:处理迟到不早退试用期出勤-加8h:日期:{}"
,
clockInfo
.
getClockInDate
());
}
}
ClockInResult
clockInResult
=
new
ClockInResult
();
clockInResult
.
setTotalWorkHours
(
totalWorkHours
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment