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 9f49f91c
authored
Jan 26, 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
65ad02a4
c9e28e3e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 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/ClockInCompleteAnalysisStaffService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/PerfRuleRemoteService.java
rpc-dj-staff/src/main/resources/META-INF/orm/PerformanceEvaluationMapper.xml
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/AttendanceDataCleansingService.java
View file @
9f49f91
...
@@ -786,7 +786,6 @@ public class AttendanceDataCleansingService {
...
@@ -786,7 +786,6 @@ public class AttendanceDataCleansingService {
&&
DateUtil
.
compare
(
DateUtil
.
parse
(
clockInDate
,
"yyyy-MM-dd"
),
DateUtil
.
parse
(
officialDate
,
"yyyy-MM-dd"
))
>=
0
;
&&
DateUtil
.
compare
(
DateUtil
.
parse
(
clockInDate
,
"yyyy-MM-dd"
),
DateUtil
.
parse
(
officialDate
,
"yyyy-MM-dd"
))
>=
0
;
BigDecimal
totalWorkHours
=
BigDecimal
.
ZERO
;
BigDecimal
totalWorkHours
=
BigDecimal
.
ZERO
;
BigDecimal
lateEarlyMinutes
=
BigDecimal
.
ZERO
;
BigDecimal
lateEarlyMinutes
=
BigDecimal
.
ZERO
;
// todz
BigDecimal
probationHours
=
BigDecimal
.
ZERO
;
BigDecimal
probationHours
=
BigDecimal
.
ZERO
;
BigDecimal
correctionHours
=
BigDecimal
.
ZERO
;
BigDecimal
correctionHours
=
BigDecimal
.
ZERO
;
int
normalClockCount
=
0
;
int
normalClockCount
=
0
;
...
@@ -924,7 +923,6 @@ public class AttendanceDataCleansingService {
...
@@ -924,7 +923,6 @@ public class AttendanceDataCleansingService {
String
officialDate
=
employee
.
getOfficialDate
();
String
officialDate
=
employee
.
getOfficialDate
();
BigDecimal
totalWorkHours
=
BigDecimal
.
ZERO
;
BigDecimal
totalWorkHours
=
BigDecimal
.
ZERO
;
BigDecimal
lateEarlyMinutes
=
BigDecimal
.
ZERO
;
BigDecimal
lateEarlyMinutes
=
BigDecimal
.
ZERO
;
// todz
BigDecimal
probationHours
=
BigDecimal
.
ZERO
;
BigDecimal
probationHours
=
BigDecimal
.
ZERO
;
BigDecimal
correctionHours
=
BigDecimal
.
ZERO
;
BigDecimal
correctionHours
=
BigDecimal
.
ZERO
;
// yyyy-MM-dd 比较clockInDate officialDate 日期大小 该打卡日期是否转正后
// yyyy-MM-dd 比较clockInDate officialDate 日期大小 该打卡日期是否转正后
...
@@ -968,7 +966,6 @@ public class AttendanceDataCleansingService {
...
@@ -968,7 +966,6 @@ public class AttendanceDataCleansingService {
String
officialDate
=
employee
.
getOfficialDate
();
String
officialDate
=
employee
.
getOfficialDate
();
BigDecimal
totalWorkHours
=
BigDecimal
.
ZERO
;
BigDecimal
totalWorkHours
=
BigDecimal
.
ZERO
;
BigDecimal
lateEarlyMinutes
=
BigDecimal
.
ZERO
;
BigDecimal
lateEarlyMinutes
=
BigDecimal
.
ZERO
;
// todz
BigDecimal
probationHours
=
BigDecimal
.
ZERO
;
BigDecimal
probationHours
=
BigDecimal
.
ZERO
;
BigDecimal
correctionHours
=
BigDecimal
.
ZERO
;
BigDecimal
correctionHours
=
BigDecimal
.
ZERO
;
int
normalClockCount
=
0
;
int
normalClockCount
=
0
;
...
...
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/ClockInCompleteAnalysisStaffService.java
View file @
9f49f91
...
@@ -45,6 +45,7 @@ public class ClockInCompleteAnalysisStaffService {
...
@@ -45,6 +45,7 @@ public class ClockInCompleteAnalysisStaffService {
String
baiduAk
=
OrePropertyConfigurer
.
getProperty
(
"baidu.ak"
,
String
.
class
,
"j140gfsl1LTZeUYH8hEUrfXVqOUcRH1C"
);
String
baiduAk
=
OrePropertyConfigurer
.
getProperty
(
"baidu.ak"
,
String
.
class
,
"j140gfsl1LTZeUYH8hEUrfXVqOUcRH1C"
);
public
void
syncQwClockInDetailData
(
String
clockInDateStr
)
{
public
void
syncQwClockInDetailData
(
String
clockInDateStr
)
{
// 测试环境 44210895 线上 44202977
Integer
merchantId
=
OrePropertyConfigurer
.
getProperty
(
"syncQwClockInData.build.merchantId"
,
Integer
.
class
,
44202977
);
Integer
merchantId
=
OrePropertyConfigurer
.
getProperty
(
"syncQwClockInData.build.merchantId"
,
Integer
.
class
,
44202977
);
// 查询企微打卡表指定日期所有人员
// 查询企微打卡表指定日期所有人员
DateTime
lastMonthDate
=
DateUtil
.
offsetMonth
(
new
Date
(),
-
1
);
DateTime
lastMonthDate
=
DateUtil
.
offsetMonth
(
new
Date
(),
-
1
);
...
...
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/PerfRuleRemoteService.java
View file @
9f49f91
...
@@ -158,7 +158,7 @@ public class PerfRuleRemoteService {
...
@@ -158,7 +158,7 @@ public class PerfRuleRemoteService {
/**
/**
* 定时任务-绩效配置设置 todz
* 定时任务-绩效配置设置 todz
测试是否正确
*/
*/
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
RpcServiceException
.
class
)
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
RpcServiceException
.
class
)
public
void
perfRuleSettingJob
(
String
monthDate
)
{
public
void
perfRuleSettingJob
(
String
monthDate
)
{
...
...
rpc-dj-staff/src/main/resources/META-INF/orm/PerformanceEvaluationMapper.xml
View file @
9f49f91
...
@@ -483,8 +483,8 @@
...
@@ -483,8 +483,8 @@
amount_calculation_type = #{amountCalculationType},
amount_calculation_type = #{amountCalculationType},
basic_salary = #{basicSalary},
basic_salary = #{basicSalary},
submit_count = #{submitCount},
submit_count = #{submitCount},
update
_by = #{update
By},
update
d_by = #{updated
By},
update
_tim
e = now()
update
d_dat
e = now()
where id = #{id}
where id = #{id}
and deleted_flag = 'N'
and deleted_flag = 'N'
and
<![CDATA[ submit_count < 2]]>
and
<![CDATA[ submit_count < 2]]>
...
...
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