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 178cc12b
authored
Jan 15, 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
6bfdbed6
c1d6f2fa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
115 additions
and
5 deletions
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/ClockInResult.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/model/perfSalary/AttendanceSummary.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/model/perfSalary/PerformanceEvaluation.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/job/AutoPerfEvaluationJob.java
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/AutoPerfEvaluationService.java
rpc-dj-staff/src/main/resources/META-INF/orm/AttendanceSummaryMapper.xml
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/ClockInResult.java
View file @
178cc12
...
...
@@ -36,4 +36,24 @@ public class ClockInResult {
*/
private
int
normalClockCount
;
/**
* 该月考勤统计-试用期出勤小时
*/
private
BigDecimal
probationHours
;
/**
* 该月考勤统计-转正出勤小时
*/
private
BigDecimal
correctionHours
;
/**
* 该月考勤统计-试用期出勤天数
*/
private
BigDecimal
probationDays
;
/**
* 该月考勤统计-转正出勤天数
*/
private
BigDecimal
correctionDays
;
}
\ No newline at end of file
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/model/perfSalary/AttendanceSummary.java
View file @
178cc12
...
...
@@ -99,6 +99,49 @@ public class AttendanceSummary implements Serializable {
private
BigDecimal
lateEarlyHours
;
/**
* 该月试用期工时统计(小时)
*/
@ApiModelProperty
(
notes
=
"该月试用期工时统计(小时)"
)
@Column
(
name
=
"probation_hours"
)
private
BigDecimal
probationHours
;
/**
* 该月转正出勤工时统计(小时)
*/
@ApiModelProperty
(
notes
=
"该月转正出勤工时统计(小时)"
)
@Column
(
name
=
"correction_hours"
)
private
BigDecimal
correctionHours
;
/**
* 该月考勤统计-试用期出勤天数
*/
@ApiModelProperty
(
notes
=
"该月试用期出勤天数"
)
@Column
(
name
=
"probation_days"
)
private
BigDecimal
probationDays
;
/**
* 该月考勤统计-转正出勤天数
*/
@ApiModelProperty
(
notes
=
"该月转正出勤天数"
)
@Column
(
name
=
"correction_days"
)
private
BigDecimal
correctionDays
;
/**
* 申诉后计算修改-试用期出勤天数
*/
@ApiModelProperty
(
notes
=
"申诉后计算修改-试用期出勤天数"
)
@Column
(
name
=
"appeal_probation_days"
)
private
BigDecimal
appealProbationDays
;
/**
* 申诉后计算修改-转正出勤天数
*/
@ApiModelProperty
(
notes
=
"申诉后计算修改-转正出勤天数"
)
@Column
(
name
=
"appeal_correction_days"
)
private
BigDecimal
appealCorrectionDays
;
/**
* 缺卡次数统计
*/
@ApiModelProperty
(
notes
=
"缺卡次数统计"
)
...
...
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/model/perfSalary/PerformanceEvaluation.java
View file @
178cc12
...
...
@@ -193,11 +193,12 @@ public class PerformanceEvaluation implements Serializable {
private
Integer
isLeaving
;
/**
* 门店
id
* 门店
名称
*/
@ApiModelProperty
(
notes
=
"门店id"
)
@Column
(
name
=
"merchant_id"
)
private
Integer
merchantId
;
@ApiModelProperty
(
notes
=
"门店名称"
)
@Column
(
name
=
"merchant_name"
)
private
Integer
merchantName
;
/**
* 自动绩效配置id
...
...
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/job/AutoPerfEvaluationJob.java
0 → 100644
View file @
178cc12
package
cn
.
com
.
glsx
.
dj
.
staff
.
job
;
import
cn.com.glsx.dj.staff.service.perfSalary.AutoPerfEvaluationService
;
import
com.dangdang.ddframe.job.api.ShardingContext
;
import
com.dangdang.ddframe.job.api.simple.SimpleJob
;
import
lombok.extern.slf4j.Slf4j
;
import
org.oreframework.boot.autoconfigure.elasticjob.annotation.ElasticJobConf
;
import
javax.annotation.Resource
;
@Slf4j
@ElasticJobConf
(
name
=
"AutoPerfEvaluationJob"
,
cron
=
"0 30 6 1 * ? "
,
description
=
"每月自动评绩效"
,
overwrite
=
false
)
public
class
AutoPerfEvaluationJob
implements
SimpleJob
{
@Resource
private
AutoPerfEvaluationService
autoPerfEvaluationService
;
@Override
public
void
execute
(
ShardingContext
shardingContext
)
{
log
.
info
(
"----------------每月自动评绩效开始-----------------"
);
try
{
autoPerfEvaluationService
.
autoPerfEvaluation
();
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
}
log
.
info
(
"----------------每月自动评绩效结束-----------------"
);
}
}
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/AttendanceDataCleansingService.java
View file @
178cc12
This diff is collapsed.
Click to expand it.
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/AutoPerfEvaluationService.java
0 → 100644
View file @
178cc12
package
cn
.
com
.
glsx
.
dj
.
staff
.
service
.
perfSalary
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
@Service
@Slf4j
public
class
AutoPerfEvaluationService
{
/**
* 每月自动评绩效
*/
public
void
autoPerfEvaluation
()
{
}
}
rpc-dj-staff/src/main/resources/META-INF/orm/AttendanceSummaryMapper.xml
View file @
178cc12
...
...
@@ -121,7 +121,7 @@
left join dj_car_life_staff_beisen_base_info sbbi on sas.mobile_phone = sbbi.staff_phone
and sbbi.deleted_flag = 'N'
where sas.deleted_flag = 'N'
and sas.mobile
P
hone = #{mobilePhone}
and sas.mobile
_p
hone = #{mobilePhone}
and DATE_FORMAT(sas.attendance_month, '%Y-%m') = #{attendanceMonth}
</select>
</mapper>
\ No newline at end of file
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