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
05b68d67
Commit
05b68d67
authored
Mar 18, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评价投诉和评价差评合计为评价分数
parent
f5ce97f9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
4 deletions
+21
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/StaffCheckSummaryService.java
...x/daemon/applicationservice/StaffCheckSummaryService.java
+4
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
...le/check/service/impl/CheckComplainRecordServiceImpl.java
+15
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformSummaryEntity.java
...als/xhx/module/staff/model/StaffPerformSummaryEntity.java
+2
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/StaffCheckSummaryService.java
View file @
05b68d67
...
@@ -36,6 +36,8 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
...
@@ -36,6 +36,8 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
@Autowired
@Autowired
private
CheckReviewRecordService
checkReviewRecordService
;
private
CheckReviewRecordService
checkReviewRecordService
;
@Autowired
@Autowired
private
CheckComplainRecordService
checkComplainRecordService
;
@Autowired
private
CheckWindowWorkmanPerformService
checkWindowWorkmanPerformService
;
private
CheckWindowWorkmanPerformService
checkWindowWorkmanPerformService
;
@Override
@Override
...
@@ -64,6 +66,7 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
...
@@ -64,6 +66,7 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
}
}
if
(
query
.
getCheckType
()
==
CheckTypeEnum
.
评价绩效
.
getValue
()){
if
(
query
.
getCheckType
()
==
CheckTypeEnum
.
评价绩效
.
getValue
()){
checkReviewRecordService
.
summaryCheck
(
query
);
checkReviewRecordService
.
summaryCheck
(
query
);
checkComplainRecordService
.
summaryCheck
(
query
);
}
}
if
(
query
.
getCheckType
()
==
CheckTypeEnum
.
其它绩效
.
getValue
()){
if
(
query
.
getCheckType
()
==
CheckTypeEnum
.
其它绩效
.
getValue
()){
checkWindowWorkmanPerformService
.
summaryCheck
(
query
);
checkWindowWorkmanPerformService
.
summaryCheck
(
query
);
...
@@ -74,6 +77,7 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
...
@@ -74,6 +77,7 @@ public class StaffCheckSummaryService implements IApplicationStartedService {
checkEffectRecordService
.
summaryCheck
(
query
);
checkEffectRecordService
.
summaryCheck
(
query
);
checkGoworkRecordService
.
summaryCheck
(
query
);
checkGoworkRecordService
.
summaryCheck
(
query
);
checkReviewRecordService
.
summaryCheck
(
query
);
checkReviewRecordService
.
summaryCheck
(
query
);
checkComplainRecordService
.
summaryCheck
(
query
);
checkWindowWorkmanPerformService
.
summaryCheck
(
query
);
checkWindowWorkmanPerformService
.
summaryCheck
(
query
);
log
.
info
(
"绩效分数汇总完成"
);
log
.
info
(
"绩效分数汇总完成"
);
}
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
View file @
05b68d67
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.exception.AppException
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.model.Context
;
import
com.mortals.framework.service.ICacheService
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.framework.service.IUser
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.framework.util.DateUtils
;
import
com.mortals.framework.util.DateUtils
;
...
@@ -52,6 +53,7 @@ import java.util.Date;
...
@@ -52,6 +53,7 @@ import java.util.Date;
import
java.util.List
;
import
java.util.List
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
ParamKey
.
SYS_PARAM_WEIGHT
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
ParamKey
.
SYS_PARAM_WEIGHT
;
import
static
com
.
mortals
.
xhx
.
common
.
key
.
RedisKey
.
KEY_CHECK_SUMMARY_CACHE
;
/**
/**
* CheckComplainRecordService
* CheckComplainRecordService
...
@@ -86,6 +88,8 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
...
@@ -86,6 +88,8 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
private
PerformRulesService
rulesService
;
private
PerformRulesService
rulesService
;
@Autowired
@Autowired
private
ParamService
paramService
;
private
ParamService
paramService
;
@Autowired
private
ICacheService
cacheService
;
@Override
@Override
protected
void
saveBefore
(
CheckComplainRecordEntity
entity
,
Context
context
)
throws
AppException
{
protected
void
saveBefore
(
CheckComplainRecordEntity
entity
,
Context
context
)
throws
AppException
{
...
@@ -106,7 +110,10 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
...
@@ -106,7 +110,10 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
if
(!
ObjectUtils
.
isEmpty
(
entity
.
getStaffId
()))
{
if
(!
ObjectUtils
.
isEmpty
(
entity
.
getStaffId
()))
{
StaffEntity
staffCache
=
staffService
.
getCache
(
entity
.
getStaffId
().
toString
());
StaffEntity
staffCache
=
staffService
.
getCache
(
entity
.
getStaffId
().
toString
());
entity
.
setStaffName
(
staffCache
==
null
?
""
:
staffCache
.
getName
());
entity
.
setStaffName
(
staffCache
==
null
?
""
:
staffCache
.
getName
());
entity
.
setDeptId
(
staffCache
==
null
?
null
:
staffCache
.
getDeptId
());
entity
.
setDeptName
(
staffCache
==
null
?
""
:
staffCache
.
getDeptName
());
entity
.
setDeptName
(
staffCache
==
null
?
""
:
staffCache
.
getDeptName
());
entity
.
setSalaId
(
staffCache
==
null
?
null
:
staffCache
.
getSalaId
());
entity
.
setSalaName
(
staffCache
==
null
?
""
:
staffCache
.
getSalaName
());
}
}
}
}
...
@@ -118,7 +125,9 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
...
@@ -118,7 +125,9 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
query
.
setStaffId
(
entity
.
getStaffId
());
query
.
setStaffId
(
entity
.
getStaffId
());
query
.
setCheckTimeStart
(
DateUtils
.
getStrDate
(
entity
.
getCheckTime
()));
query
.
setCheckTimeStart
(
DateUtils
.
getStrDate
(
entity
.
getCheckTime
()));
query
.
setCheckTimeEnd
(
query
.
getCheckTimeStart
());
query
.
setCheckTimeEnd
(
query
.
getCheckTimeStart
());
summaryCheck
(
query
);
query
.
setCheckType
(
CheckTypeEnum
.
评价绩效
.
getValue
());
cacheService
.
lpush
(
KEY_CHECK_SUMMARY_CACHE
,
query
);
//summaryCheck(query);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
}
}
...
@@ -186,7 +195,11 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
...
@@ -186,7 +195,11 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
sendCheckDingTalk
(
entity
);
sendCheckDingTalk
(
entity
);
StaffCheckSummaryQuery
query
=
new
StaffCheckSummaryQuery
();
StaffCheckSummaryQuery
query
=
new
StaffCheckSummaryQuery
();
query
.
setStaffId
(
temp
.
getStaffId
());
query
.
setStaffId
(
temp
.
getStaffId
());
summaryCheck
(
query
);
query
.
setCheckTimeStart
(
DateUtils
.
getStrDate
(
entity
.
getCheckTime
()));
query
.
setCheckTimeEnd
(
query
.
getCheckTimeStart
());
query
.
setCheckType
(
CheckTypeEnum
.
评价绩效
.
getValue
());
cacheService
.
lpush
(
KEY_CHECK_SUMMARY_CACHE
,
query
);
//summaryCheck(query);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
log
.
error
(
"汇总已审核的核查记录出错"
,
e
);
}
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformSummaryEntity.java
View file @
05b68d67
...
@@ -73,7 +73,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -73,7 +73,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 投诉绩效指标分数
* 投诉绩效指标分数
*/
*/
@Excel
(
name
=
"投诉绩效指标分数"
)
//
@Excel(name = "投诉绩效指标分数")
private
BigDecimal
complainScore
;
private
BigDecimal
complainScore
;
/**
/**
* 办件绩效分数
* 办件绩效分数
...
@@ -88,7 +88,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -88,7 +88,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 其它绩效分数
* 其它绩效分数
*/
*/
@Excel
(
name
=
"
其它
绩效分数"
)
@Excel
(
name
=
"
自评
绩效分数"
)
private
BigDecimal
otherScore
;
private
BigDecimal
otherScore
;
/**
/**
* 累计异常分数
* 累计异常分数
...
...
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