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
1e1b3b7f
Commit
1e1b3b7f
authored
Apr 08, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考勤汇总导出修改
parent
8b34bbc6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
15 deletions
+25
-15
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformSummaryEntity.java
...als/xhx/module/staff/model/StaffPerformSummaryEntity.java
+13
-13
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/vo/StaffPerformSummaryVo.java
...tals/xhx/module/staff/model/vo/StaffPerformSummaryVo.java
+3
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/web/StaffPerformSummaryController.java
...s/xhx/module/staff/web/StaffPerformSummaryController.java
+9
-2
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformSummaryEntity.java
View file @
1e1b3b7f
...
@@ -35,12 +35,12 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -35,12 +35,12 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 工号
* 工号
*/
*/
@Excel
(
name
=
"工号"
)
@Excel
(
name
=
"工号"
,
sort
=
2
)
private
String
workNum
;
private
String
workNum
;
/**
/**
* 人员名称
* 人员名称
*/
*/
@Excel
(
name
=
"
人员名称"
)
@Excel
(
name
=
"
姓名"
,
sort
=
1
)
private
String
staffName
;
private
String
staffName
;
/**
/**
* 所属大厅
* 所属大厅
...
@@ -49,7 +49,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -49,7 +49,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 所属大厅名称
* 所属大厅名称
*/
*/
@Excel
(
name
=
"
大厅名称"
)
@Excel
(
name
=
"
所属大厅"
,
sort
=
4
)
private
String
salaName
;
private
String
salaName
;
/**
/**
* 部门id号
* 部门id号
...
@@ -58,37 +58,37 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -58,37 +58,37 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 部门名称
* 部门名称
*/
*/
@Excel
(
name
=
"
部门名称"
)
@Excel
(
name
=
"
所属部门"
,
sort
=
5
)
private
String
deptName
;
private
String
deptName
;
/**
/**
* 考勤绩效指标分数
* 考勤绩效指标分数
*/
*/
@Excel
(
name
=
"
考勤绩效指标分数"
)
@Excel
(
name
=
"
服务规范(考勤绩效)"
,
sort
=
7
)
private
BigDecimal
attendScore
;
private
BigDecimal
attendScore
;
/**
/**
* 评价绩效指标分数
* 评价绩效指标分数
*/
*/
@Excel
(
name
=
"
评价绩效指标分数"
)
@Excel
(
name
=
"
群众评议"
,
sort
=
9
)
private
BigDecimal
reviewScore
;
private
BigDecimal
reviewScore
;
/**
/**
* 投诉绩效指标分数
* 投诉绩效指标分数
*/
*/
@Excel
(
name
=
"
自评绩效分数"
)
@Excel
(
name
=
"
综合管理(自评绩效)"
,
sort
=
8
)
private
BigDecimal
complainScore
;
private
BigDecimal
complainScore
;
/**
/**
* 办件绩效分数
* 办件绩效分数
*/
*/
@Excel
(
name
=
"
办件绩效分数"
)
@Excel
(
name
=
"
工作效能(办件绩效)"
,
sort
=
10
)
private
BigDecimal
goworkScore
;
private
BigDecimal
goworkScore
;
/**
/**
* 效能绩效分数
* 效能绩效分数
*/
*/
@Excel
(
name
=
"
效能绩效分数"
)
@Excel
(
name
=
"
工作纪律(效能绩效)"
,
sort
=
6
)
private
BigDecimal
effectScore
;
private
BigDecimal
effectScore
;
/**
/**
* 其它绩效分数 加分项
* 其它绩效分数 加分项
*/
*/
@Excel
(
name
=
"
其它绩效分数"
)
@Excel
(
name
=
"
加分(其它绩效)"
,
sort
=
11
)
private
BigDecimal
otherScore
;
private
BigDecimal
otherScore
;
/**
/**
* 累计异常分数
* 累计异常分数
...
@@ -98,7 +98,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -98,7 +98,7 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 当月得分数
* 当月得分数
*/
*/
@Excel
(
name
=
"
当月得分数"
)
@Excel
(
name
=
"
本月得分数"
,
sort
=
12
)
private
BigDecimal
totalScore
;
private
BigDecimal
totalScore
;
/**
/**
* 备注
* 备注
...
@@ -107,12 +107,12 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
...
@@ -107,12 +107,12 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
/**
/**
* 年
* 年
*/
*/
@Excel
(
name
=
"年"
)
@Excel
(
name
=
"年"
,
sort
=
13
)
private
Integer
year
;
private
Integer
year
;
/**
/**
* 月
* 月
*/
*/
@Excel
(
name
=
"月"
)
@Excel
(
name
=
"月"
,
sort
=
14
)
private
Integer
month
;
private
Integer
month
;
@Override
@Override
public
int
hashCode
()
{
public
int
hashCode
()
{
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/vo/StaffPerformSummaryVo.java
View file @
1e1b3b7f
...
@@ -18,5 +18,8 @@ public class StaffPerformSummaryVo extends BaseEntityLong {
...
@@ -18,5 +18,8 @@ public class StaffPerformSummaryVo extends BaseEntityLong {
/**
/**
* 联系电话
* 联系电话
*/
*/
@Excel
(
name
=
"手机号码"
,
sort
=
3
)
private
String
phoneNumber
;
private
String
phoneNumber
;
private
Integer
sortKind
;
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/web/StaffPerformSummaryController.java
View file @
1e1b3b7f
...
@@ -81,9 +81,16 @@ public class StaffPerformSummaryController extends BaseCRUDJsonBodyMappingContro
...
@@ -81,9 +81,16 @@ public class StaffPerformSummaryController extends BaseCRUDJsonBodyMappingContro
@Override
@Override
protected
void
doListBefore
(
StaffPerformSummaryEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
protected
void
doListBefore
(
StaffPerformSummaryEntity
query
,
Map
<
String
,
Object
>
model
,
Context
context
)
throws
AppException
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getOrderColList
()))
{
if
(!
ObjectUtils
.
isEmpty
(
query
.
getOrderColList
()))
{
query
.
getOrderColList
().
add
(
new
OrderCol
(
"year"
,
OrderCol
.
DESCENDING
));
//
query.getOrderColList().add(new OrderCol("year",OrderCol.DESCENDING));
query
.
getOrderColList
().
add
(
new
OrderCol
(
"month"
,
OrderCol
.
DESCENDING
));
//
query.getOrderColList().add(new OrderCol("month",OrderCol.DESCENDING));
}
}
List
<
OrderCol
>
orderColList
=
new
ArrayList
();
if
(
query
.
getSortKind
()!=
null
&&
query
.
getSortKind
()==
1
){
orderColList
.
add
(
new
OrderCol
(
"totalScore"
,
OrderCol
.
DESCENDING
));
}
else
{
orderColList
.
add
(
new
OrderCol
(
"totalScore"
,
OrderCol
.
ASCENDING
));
}
query
.
setOrderColList
(
orderColList
);
}
}
@Override
@Override
...
...
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