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
59160a5d
Commit
59160a5d
authored
Jul 18, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改考勤汇总
parent
0036ddd5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
82 additions
and
67 deletions
+82
-67
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
...dule/check/service/impl/CheckAttendRecordServiceImpl.java
+11
-12
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformSummaryEntity.java
...als/xhx/module/staff/model/StaffPerformSummaryEntity.java
+71
-55
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
View file @
59160a5d
...
...
@@ -75,11 +75,11 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
protected
void
saveAfter
(
CheckAttendRecordEntity
entity
,
Context
context
)
throws
AppException
{
//发送钉钉通知信息
if
(
SubMethodEnum
.
系统自动
.
getValue
()
==
entity
.
getSubMethod
())
{
AttendPostServiceThread
attendPostServiceThread
=
new
AttendPostServiceThread
(
entity
);
ThreadPool
.
getInstance
().
execute
(
attendPostServiceThread
);
//
sendCheckDingTalk(entity);
/*
AttendPostServiceThread attendPostServiceThread = new AttendPostServiceThread(entity);
ThreadPool.getInstance().execute(attendPostServiceThread);
*/
sendCheckDingTalk
(
entity
);
}
/*
try {
try
{
StaffCheckSummaryQuery
query
=
new
StaffCheckSummaryQuery
();
query
.
setStaffId
(
entity
.
getStaffId
());
query
.
setCheckTimeStart
(
DateUtils
.
getStrDate
(
entity
.
getCheckTime
()));
...
...
@@ -87,7 +87,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
summaryCheck
(
query
);
}
catch
(
Exception
e
)
{
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
}
*/
}
}
@Override
...
...
@@ -132,17 +132,16 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
// sendCheckDingTalk(entity);
try
{
CheckAttendRecordEntity
temp
=
this
.
get
(
entity
.
getId
());
if
(
temp
!=
null
)
{
AttendPostServiceThread
attendPostServiceThread
=
new
AttendPostServiceThread
(
entity
);
ThreadPool
.
getInstance
().
execute
(
attendPostServiceThread
);
/* StaffCheckSummaryQuery query = new StaffCheckSummaryQuery();
/* AttendPostServiceThread attendPostServiceThread = new AttendPostServiceThread(entity);
ThreadPool.getInstance().execute(attendPostServiceThread);*/
sendCheckDingTalk
(
entity
);
StaffCheckSummaryQuery
query
=
new
StaffCheckSummaryQuery
();
query
.
setStaffId
(
temp
.
getStaffId
());
summaryCheck(query);
*/
summaryCheck
(
query
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformSummaryEntity.java
View file @
59160a5d
package
com.mortals.xhx.module.staff.model
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.ArrayList
;
import
cn.hutool.core.date.DateUtil
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.mortals.framework.annotation.Excel
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.staff.model.vo.StaffPerformSummaryVo
;
import
lombok.Data
;
/**
* 员工绩效统计实体对象
*
* @author zxfei
* @date 2023-07-14
*/
* 员工绩效统计实体对象
*
* @author zxfei
* @date 2023-07-18
*/
@Data
public
class
StaffPerformSummaryEntity
extends
StaffPerformSummaryVo
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -24,10 +27,12 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
* 工号
*/
@Excel
(
name
=
"工号"
)
private
String
workNum
;
/**
* 人员名称
*/
@Excel
(
name
=
"人员名称"
)
private
String
staffName
;
/**
* 部门id号
...
...
@@ -36,38 +41,47 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
* 部门名称
*/
@Excel
(
name
=
"部门名称"
)
private
String
deptName
;
/**
* 考勤绩效指标分数
*/
@Excel
(
name
=
"考勤绩效指标分数"
)
private
BigDecimal
attendScore
;
/**
* 评价绩效指标分数
*/
@Excel
(
name
=
"评价绩效指标分数"
)
private
BigDecimal
reviewScore
;
/**
* 投诉绩效指标分数
*/
@Excel
(
name
=
"投诉绩效指标分数"
)
private
BigDecimal
complainScore
;
/**
* 办件绩效分数
*/
@Excel
(
name
=
"办件绩效分数"
)
private
BigDecimal
goworkScore
;
/**
* 效能绩效分数
*/
@Excel
(
name
=
"效能绩效分数"
)
private
BigDecimal
effectScore
;
/**
* 其它绩效分数
*/
@Excel
(
name
=
"其它绩效分数"
)
private
BigDecimal
otherScore
;
/**
* 累计异常分数
*/
@Excel
(
name
=
"累计异常分数"
)
private
BigDecimal
errorScore
;
/**
* 当月得分数
*/
@Excel
(
name
=
"当月得分数"
)
private
BigDecimal
totalScore
;
/**
* 备注
...
...
@@ -76,10 +90,12 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
* 年
*/
@Excel
(
name
=
"年"
)
private
Integer
year
;
/**
* 月
*/
@Excel
(
name
=
"月"
)
private
Integer
month
;
@Override
public
int
hashCode
()
{
...
...
@@ -127,8 +143,8 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
this
.
remark
=
""
;
this
.
year
=
-
1
;
this
.
year
=
DateUtil
.
year
(
new
Date
())
;
this
.
month
=
-
1
;
this
.
month
=
DateUtil
.
month
(
new
Date
())+
1
;
}
}
\ No newline at end of file
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