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
ae7a1d8e
Commit
ae7a1d8e
authored
Jul 17, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.scsmile.cn/zxf/attendance-performance-platform
parents
599cd8be
3614a017
Changes
38
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
9761 additions
and
9373 deletions
+9761
-9373
attendance-performance-manager-ui/admin/package-lock.json
attendance-performance-manager-ui/admin/package-lock.json
+320
-0
attendance-performance-manager-ui/admin/src/components/DataTable.vue
...performance-manager-ui/admin/src/components/DataTable.vue
+1
-1
attendance-performance-manager-ui/admin/src/components/tools/TableButtons.vue
...ce-manager-ui/admin/src/components/tools/TableButtons.vue
+6
-5
attendance-performance-manager-ui/admin/src/views/check/attend/record/list.vue
...e-manager-ui/admin/src/views/check/attend/record/list.vue
+1
-0
attendance-performance-manager-ui/admin/src/views/check/complain/record/list.vue
...manager-ui/admin/src/views/check/complain/record/list.vue
+1
-0
attendance-performance-manager-ui/admin/src/views/check/effect/record/list.vue
...e-manager-ui/admin/src/views/check/effect/record/list.vue
+1
-0
attendance-performance-manager-ui/admin/src/views/check/gowork/record/list.vue
...e-manager-ui/admin/src/views/check/gowork/record/list.vue
+1
-0
attendance-performance-manager-ui/admin/src/views/check/other/record/list.vue
...ce-manager-ui/admin/src/views/check/other/record/list.vue
+1
-0
attendance-performance-manager-ui/admin/src/views/check/review/record/list.vue
...e-manager-ui/admin/src/views/check/review/record/list.vue
+1
-0
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
...r-ui/admin/src/views/perform/attend/appeal/drawershow.vue
+17
-5
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/list.vue
...manager-ui/admin/src/views/perform/attend/appeal/list.vue
+72
-31
attendance-performance-manager-ui/admin/src/views/perform/attend/record/list.vue
...manager-ui/admin/src/views/perform/attend/record/list.vue
+7
-3
attendance-performance-manager-ui/admin/src/views/perform/complain/record/list.vue
...nager-ui/admin/src/views/perform/complain/record/list.vue
+6
-1
attendance-performance-manager-ui/admin/src/views/perform/effect/record/list.vue
...manager-ui/admin/src/views/perform/effect/record/list.vue
+7
-2
attendance-performance-manager-ui/admin/src/views/perform/gowork/record/list.vue
...manager-ui/admin/src/views/perform/gowork/record/list.vue
+7
-2
attendance-performance-manager-ui/admin/src/views/perform/other/record/list.vue
...-manager-ui/admin/src/views/perform/other/record/list.vue
+2
-1
attendance-performance-manager-ui/admin/src/views/perform/review/record/list.vue
...manager-ui/admin/src/views/perform/review/record/list.vue
+6
-1
attendance-performance-manager-ui/admin/src/views/system/user/list.vue
...rformance-manager-ui/admin/src/views/system/user/list.vue
+45
-54
attendance-performance-manager-ui/admin/yarn.lock
attendance-performance-manager-ui/admin/yarn.lock
+9142
-9152
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/AppealApiController.java
...ava/com/mortals/xhx/busiz/h5/web/AppealApiController.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/InspectApiController.java
...va/com/mortals/xhx/busiz/h5/web/InspectApiController.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/PerformApiController.java
...va/com/mortals/xhx/busiz/h5/web/PerformApiController.java
+8
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
...dule/check/service/impl/CheckAttendRecordServiceImpl.java
+11
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
...le/check/service/impl/CheckComplainRecordServiceImpl.java
+11
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckEffectRecordServiceImpl.java
...dule/check/service/impl/CheckEffectRecordServiceImpl.java
+11
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckGoworkRecordServiceImpl.java
...dule/check/service/impl/CheckGoworkRecordServiceImpl.java
+11
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
...odule/check/service/impl/CheckOtherRecordServiceImpl.java
+11
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckReviewRecordServiceImpl.java
...dule/check/service/impl/CheckReviewRecordServiceImpl.java
+11
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckAllRecordController.java
...ortals/xhx/module/check/web/CheckAllRecordController.java
+1
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckAttendRecordController.java
...als/xhx/module/check/web/CheckAttendRecordController.java
+2
-4
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckComplainRecordController.java
...s/xhx/module/check/web/CheckComplainRecordController.java
+2
-6
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckEffectRecordController.java
...als/xhx/module/check/web/CheckEffectRecordController.java
+2
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckGoworkRecordController.java
...als/xhx/module/check/web/CheckGoworkRecordController.java
+2
-5
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckOtherRecordController.java
...tals/xhx/module/check/web/CheckOtherRecordController.java
+2
-5
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckReviewRecordController.java
...als/xhx/module/check/web/CheckReviewRecordController.java
+2
-5
attendance-performance-manager/src/main/java/com/mortals/xhx/module/feedback/web/FeedbackController.java
...m/mortals/xhx/module/feedback/web/FeedbackController.java
+22
-7
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
.../perform/service/impl/PerformAttendAppealServiceImpl.java
+3
-2
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
...xhx/module/perform/web/PerformAttendAppealController.java
+3
-5
No files found.
attendance-performance-manager-ui/admin/package-lock.json
View file @
ae7a1d8e
This diff is collapsed.
Click to expand it.
attendance-performance-manager-ui/admin/src/components/DataTable.vue
View file @
ae7a1d8e
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
:empty-text=
"emptytxt ? emptytxt : emptyText"
:empty-text=
"emptytxt ? emptytxt : emptyText"
border
border
style=
"width: 100%"
style=
"width: 100%"
height=
"5
7
0"
height=
"5
3
0"
>
>
<el-table-column
<el-table-column
v-for=
"column in columns"
v-for=
"column in columns"
...
...
attendance-performance-manager-ui/admin/src/components/tools/TableButtons.vue
View file @
ae7a1d8e
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
size=
"mini"
size=
"mini"
@
click=
"$emit('edit', row)"
@
click=
"$emit('edit', row)"
title=
"编辑"
title=
"编辑"
style=
"margin-left: 0;margin-right: 5px"
>
编辑
</el-button
>
编辑
</el-button
>
>
<span>
</span>
<el-button
<el-button
v-if=
"!noView"
v-if=
"!noView"
type=
"text"
type=
"text"
...
@@ -17,18 +17,18 @@
...
@@ -17,18 +17,18 @@
size=
"mini"
size=
"mini"
@
click=
"$emit('view', row)"
@
click=
"$emit('view', row)"
title=
"查看"
title=
"查看"
style=
"margin-left: 0;margin-right: 5px"
>
查看
</el-button
>
查看
</el-button
>
>
<span>
</span>
<el-switch
<el-switch
v-if=
"switchBtn"
v-if=
"switchBtn"
v-model=
"row.check"
v-model=
"row.check"
@
change=
"$emit('view', row)"
@
change=
"$emit('view', row)"
title=
"核查"
title=
"核查"
:active-value=
"true"
:active-value=
"true"
style=
"margin-left: 0;margin-right: 5px"
:inactive-value=
"false"
:inactive-value=
"false"
></el-switch>
></el-switch>
<span>
</span>
<el-button
<el-button
v-if=
"reCheck"
v-if=
"reCheck"
type=
"text"
type=
"text"
...
@@ -36,9 +36,9 @@
...
@@ -36,9 +36,9 @@
size=
"mini"
size=
"mini"
@
click=
"$emit('edit', row)"
@
click=
"$emit('edit', row)"
title=
"核查"
title=
"核查"
style=
"margin-left: 0;margin-right: 5px"
>
核查
</el-button
>
核查
</el-button
>
>
<span>
</span>
<el-button
<el-button
v-if=
"chuli"
v-if=
"chuli"
type=
"text"
type=
"text"
...
@@ -46,9 +46,9 @@
...
@@ -46,9 +46,9 @@
size=
"mini"
size=
"mini"
@
click=
"$emit('edit', row)"
@
click=
"$emit('edit', row)"
title=
"处理"
title=
"处理"
style=
"margin-left: 0;margin-right: 5px"
>
处理
</el-button
>
处理
</el-button
>
>
<span>
</span>
<Confirm
@
confirm=
"$emit('del', row.id)"
message=
"确定要删除该条记录吗?"
>
<Confirm
@
confirm=
"$emit('del', row.id)"
message=
"确定要删除该条记录吗?"
>
<el-button
<el-button
v-if=
"!noDel"
v-if=
"!noDel"
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
icon=
"el-icon-delete"
icon=
"el-icon-delete"
size=
"mini"
size=
"mini"
title=
"删除"
title=
"删除"
style=
"margin-left: 0;margin-right: 5px"
>
删除
</el-button
>
删除
</el-button
>
>
</Confirm>
</Confirm>
...
...
attendance-performance-manager-ui/admin/src/views/check/attend/record/list.vue
View file @
ae7a1d8e
...
@@ -255,6 +255,7 @@ export default {
...
@@ -255,6 +255,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
checkStatus
==
1
?
(
return
row
.
checkStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/check/complain/record/list.vue
View file @
ae7a1d8e
...
@@ -262,6 +262,7 @@ export default {
...
@@ -262,6 +262,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
checkStatus
==
1
?
(
return
row
.
checkStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/check/effect/record/list.vue
View file @
ae7a1d8e
...
@@ -262,6 +262,7 @@ export default {
...
@@ -262,6 +262,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
checkStatus
==
1
?
(
return
row
.
checkStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/check/gowork/record/list.vue
View file @
ae7a1d8e
...
@@ -250,6 +250,7 @@ export default {
...
@@ -250,6 +250,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
checkStatus
==
1
?
(
return
row
.
checkStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/check/other/record/list.vue
View file @
ae7a1d8e
...
@@ -258,6 +258,7 @@ export default {
...
@@ -258,6 +258,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
checkStatus
==
1
?
(
return
row
.
checkStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/check/review/record/list.vue
View file @
ae7a1d8e
...
@@ -259,6 +259,7 @@ export default {
...
@@ -259,6 +259,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
checkStatus
==
1
?
(
return
row
.
checkStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/drawershow.vue
View file @
ae7a1d8e
...
@@ -507,6 +507,9 @@ export default {
...
@@ -507,6 +507,9 @@ export default {
],
],
createTime
:
[{
required
:
true
,
message
:
"
请选择创建时间
"
}],
createTime
:
[{
required
:
true
,
message
:
"
请选择创建时间
"
}],
},
},
urls
:
{
saveUrl
:
"
/perform/attend/appeal/audit
"
,
},
};
};
},
},
...
@@ -521,7 +524,6 @@ export default {
...
@@ -521,7 +524,6 @@ export default {
formatterDate
,
formatterDate
,
// 下载附件
// 下载附件
hanldeDownloadFile
(
val
)
{
hanldeDownloadFile
(
val
)
{
console
.
log
(
val
);
downloadFile
(
val
.
filePath
,
val
.
fileName
);
downloadFile
(
val
.
filePath
,
val
.
fileName
);
},
},
picMatter
(
val
)
{
picMatter
(
val
)
{
...
@@ -617,10 +619,20 @@ export default {
...
@@ -617,10 +619,20 @@ export default {
view
(
row
)
{
view
(
row
)
{
this
.
reset
();
this
.
reset
();
this
.
query
=
{
id
:
row
.
id
};
this
.
query
=
{
id
:
row
.
id
};
this
.
urls
.
currUrl
=
"
perform/attend/appeal/view
"
;
// this.urls.currUrl = "perform/attend/appeal/view";
this
.
getData
();
// this.getData();
this
.
$get
(
"
/perform/attend/appeal/view
"
,
{
id
:
row
.
id
}).
then
((
res
)
=>
{
if
(
res
.
code
==
1
)
{
this
.
form
=
res
.
data
.
entity
;
this
.
dict
=
res
.
data
.
dict
;
}
else
{
this
.
reset
();
}
this
.
form
.
view
=
"
查看
"
;
this
.
form
.
view
=
"
查看
"
;
this
.
pageInfo
.
type
=
"
view
"
;
this
.
pageInfo
.
type
=
"
view
"
;
this
.
open
=
true
;
});
this
.
title
=
"
绩效记录申诉信息详细
"
;
this
.
title
=
"
绩效记录申诉信息详细
"
;
},
},
/**取消按钮 */
/**取消按钮 */
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/appeal/list.vue
View file @
ae7a1d8e
...
@@ -13,8 +13,17 @@
...
@@ -13,8 +13,17 @@
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"search_box"
>
<div
class=
"search_box"
>
<div
class=
"search"
>
<div
class=
"search"
>
<el-select
v-model=
"dateValue"
placeholder=
"请选择"
style=
"margin: 0 10px;"
>
<el-select
<el-option
v-for=
"item in optionsMonths"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
v-model=
"dateValue"
placeholder=
"请选择"
style=
"margin: 0 10px;"
>
<el-option
v-for=
"item in optionsMonths"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-button
type=
"primary"
@
click=
"getChartsData"
>
搜索
</el-button>
<el-button
type=
"primary"
@
click=
"getChartsData"
>
搜索
</el-button>
...
@@ -23,17 +32,32 @@
...
@@ -23,17 +32,32 @@
<div
class=
"data_box"
>
<div
class=
"data_box"
>
<div
class=
"top"
>
<div
class=
"top"
>
<div
class=
"box"
>
<div
class=
"box"
>
<bar-charts
:title=
"'申诉次数部门排名TOP20'"
:id=
"'dept_20'"
:legendName=
"'申诉次数'"
<bar-charts
:styleObj=
"
{ width: '800px', height: '360px' }" :chartsData="depChartsData" />
:title=
"'申诉次数部门排名TOP20'"
:id=
"'dept_20'"
:legendName=
"'申诉次数'"
:styleObj=
"
{ width: '800px', height: '360px' }"
:chartsData="depChartsData"
/>
</div>
</div>
<div
class=
"box"
>
<div
class=
"box"
>
<bar-charts
:title=
"'申诉次数个人排名TOP20'"
:id=
"'person_20'"
:legendName=
"'申诉次数'"
<bar-charts
:styleObj=
"
{ width: '800px', height: '360px' }" :chartsData="personChartsData" />
:title=
"'申诉次数个人排名TOP20'"
:id=
"'person_20'"
:legendName=
"'申诉次数'"
:styleObj=
"
{ width: '800px', height: '360px' }"
:chartsData="personChartsData"
/>
</div>
</div>
</div>
</div>
<div
class=
"down"
>
<div
class=
"down"
>
<bar-charts
:title=
"'申诉次数规则排名TOP20'"
:id=
"'rule_20'"
:legendName=
"'申诉次数'"
<bar-charts
:styleObj=
"
{ width: '1800px', height: '320px' }" :chartsData="depChartsData" />
:title=
"'申诉次数规则排名TOP20'"
:id=
"'rule_20'"
:legendName=
"'申诉次数'"
:styleObj=
"
{ width: '1800px', height: '320px' }"
:chartsData="depChartsData"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -81,18 +105,27 @@ export default {
...
@@ -81,18 +105,27 @@ export default {
:
this
.
getChartsData
();
:
this
.
getChartsData
();
},
},
getChartsData
()
{
getChartsData
()
{
this
.
$post
(
'
/perform/attend/appeal/stat
'
,
{
appealTimeStart
:
this
.
dateValue
,
statType
:
1
}).
then
(
res
=>
{
this
.
$post
(
"
/perform/attend/appeal/stat
"
,
{
console
.
log
(
res
)
appealTimeStart
:
this
.
dateValue
,
this
.
depChartsData
=
res
.
data
statType
:
1
,
})
}).
then
((
res
)
=>
{
this
.
$post
(
'
/perform/attend/appeal/stat
'
,
{
appealTimeStart
:
this
.
dateValue
,
statType
:
2
}).
then
(
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
)
this
.
depChartsData
=
res
.
data
;
this
.
personChartsData
=
res
.
data
});
})
this
.
$post
(
"
/perform/attend/appeal/stat
"
,
{
this
.
$post
(
'
/perform/attend/appeal/stat
'
,
{
appealTimeStart
:
this
.
dateValue
,
statType
:
3
}).
then
(
res
=>
{
appealTimeStart
:
this
.
dateValue
,
console
.
log
(
res
)
statType
:
2
,
this
.
ruleChartsData
=
res
.
data
}).
then
((
res
)
=>
{
})
console
.
log
(
res
);
this
.
personChartsData
=
res
.
data
;
});
this
.
$post
(
"
/perform/attend/appeal/stat
"
,
{
appealTimeStart
:
this
.
dateValue
,
statType
:
3
,
}).
then
((
res
)
=>
{
console
.
log
(
res
);
this
.
ruleChartsData
=
res
.
data
;
});
},
},
renderTable
(
tableData
)
{
renderTable
(
tableData
)
{
return
(
return
(
...
@@ -171,10 +204,19 @@ export default {
...
@@ -171,10 +204,19 @@ export default {
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
所属部门
"
,
prop
:
"
deptName
"
},
{
label
:
"
违规类型
"
,
prop
:
"
irregularOtherType
"
},
{
label
:
"
违规类型
"
,
prop
:
"
irregularType
"
,
formatter
:
this
.
formatter
,
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleId
"
,
formatter
:
this
.
formatter
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleId
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subAddType
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subAddType
"
,
formatter
:
this
.
formatter
,
},
{
{
label
:
"
加分/扣分时间
"
,
label
:
"
加分/扣分时间
"
,
...
@@ -225,7 +267,6 @@ export default {
...
@@ -225,7 +267,6 @@ export default {
onDel
=
{
this
.
toDel
}
onDel
=
{
this
.
toDel
}
/
>
/
>
)
:
(
)
:
(
<
table
-
buttons
<
table
-
buttons
noAdd
noAdd
noDel
noDel
...
@@ -293,7 +334,7 @@ export default {
...
@@ -293,7 +334,7 @@ export default {
label
:
"
12月
"
,
label
:
"
12月
"
,
},
},
],
],
dateValue
:
'
2023-07-01 00:00:00
'
,
dateValue
:
"
2023-07-01 00:00:00
"
,
};
};
},
},
};
};
...
...
attendance-performance-manager-ui/admin/src/views/perform/attend/record/list.vue
View file @
ae7a1d8e
...
@@ -218,7 +218,7 @@ export default {
...
@@ -218,7 +218,7 @@ export default {
{
label
:
"
异常结果
"
,
prop
:
"
errorResult
"
},
{
label
:
"
异常结果
"
,
prop
:
"
errorResult
"
},
/*
/*
{
{
label: "图片凭证",
label: "图片凭证",
prop: "filePaths",
prop: "filePaths",
...
@@ -232,10 +232,13 @@ export default {
...
@@ -232,10 +232,13 @@ export default {
formatter
:
this
.
formatterPic
,
formatter
:
this
.
formatterPic
,
},
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleNme
"
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleNme
"
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
,
},
{
{
label
:
"
加分/扣分时间
"
,
label
:
"
加分/扣分时间
"
,
...
@@ -256,6 +259,7 @@ export default {
...
@@ -256,6 +259,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
processStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/perform/complain/record/list.vue
View file @
ae7a1d8e
...
@@ -232,7 +232,11 @@ export default {
...
@@ -232,7 +232,11 @@ export default {
{
label
:
"
绩效规则
"
,
prop
:
"
ruleNme
"
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleNme
"
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
,
},
{
{
label
:
"
加分/扣分时间
"
,
label
:
"
加分/扣分时间
"
,
...
@@ -253,6 +257,7 @@ export default {
...
@@ -253,6 +257,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
processStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/perform/effect/record/list.vue
View file @
ae7a1d8e
...
@@ -232,7 +232,11 @@ export default {
...
@@ -232,7 +232,11 @@ export default {
},
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleName
"
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleName
"
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
,
},
{
{
label
:
"
加分/扣分时间
"
,
label
:
"
加分/扣分时间
"
,
...
@@ -252,7 +256,8 @@ export default {
...
@@ -252,7 +256,8 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
240
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
processStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/perform/gowork/record/list.vue
View file @
ae7a1d8e
...
@@ -219,7 +219,11 @@ export default {
...
@@ -219,7 +219,11 @@ export default {
},
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleName
"
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleName
"
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
,
},
{
{
label
:
"
加分/扣分时间
"
,
label
:
"
加分/扣分时间
"
,
...
@@ -239,7 +243,8 @@ export default {
...
@@ -239,7 +243,8 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
240
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
processStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/perform/other/record/list.vue
View file @
ae7a1d8e
...
@@ -248,7 +248,8 @@ export default {
...
@@ -248,7 +248,8 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
240
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
processStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/perform/review/record/list.vue
View file @
ae7a1d8e
...
@@ -230,7 +230,11 @@ export default {
...
@@ -230,7 +230,11 @@ export default {
{
label
:
"
绩效规则
"
,
prop
:
"
ruleNme
"
},
{
label
:
"
绩效规则
"
,
prop
:
"
ruleNme
"
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
},
{
label
:
"
加分/扣分方式
"
,
prop
:
"
subMethod
"
,
formatter
:
this
.
formatter
,
},
{
{
label
:
"
加分/扣分时间
"
,
label
:
"
加分/扣分时间
"
,
...
@@ -251,6 +255,7 @@ export default {
...
@@ -251,6 +255,7 @@ export default {
{
{
label
:
"
操作
"
,
label
:
"
操作
"
,
width
:
200
,
width
:
200
,
fixed
:
"
right
"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
processStatus
==
1
?
(
return
row
.
processStatus
==
1
?
(
<
table
-
buttons
<
table
-
buttons
...
...
attendance-performance-manager-ui/admin/src/views/system/user/list.vue
View file @
ae7a1d8e
...
@@ -40,14 +40,12 @@
...
@@ -40,14 +40,12 @@
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
<el-dialog
:title=
"userDeptDialog.title"
:title=
"userDeptDialog.title"
:visible.sync=
"userDeptDialog.open"
:visible.sync=
"userDeptDialog.open"
width=
"60%"
width=
"60%"
append-to-body
append-to-body
>
>
<div
class=
"mytree"
>
<div
class=
"mytree"
>
<el-tree
<el-tree
ref=
"bomTree"
ref=
"bomTree"
...
@@ -95,7 +93,7 @@ export default {
...
@@ -95,7 +93,7 @@ export default {
this
.
tableData
.
loading
=
false
;
this
.
tableData
.
loading
=
false
;
},
},
renderContent
:
function
(
h
,
{
node
,
data
,
store
})
{
renderContent
:
function
(
h
,
{
node
,
data
,
store
})
{
return
(
return
(
<
span
>
<
span
>
<
i
style
=
"
font-size:16px;color:#409EFF
"
class
=
{
data
.
icon
}
><
/i
>
<
i
style
=
"
font-size:16px;color:#409EFF
"
class
=
{
data
.
icon
}
><
/i
>
...
@@ -128,18 +126,17 @@ export default {
...
@@ -128,18 +126,17 @@ export default {
// });
// });
},
},
userDeptConfirm
(
row
)
{
userDeptConfirm
(
row
)
{
if
(
Object
.
keys
(
this
.
node
).
length
===
0
)
{
if
(
Object
.
keys
(
this
.
node
).
length
===
0
)
{
this
.
$message
.
error
(
"
请选择一个部门!
"
);
this
.
$message
.
error
(
"
请选择一个部门!
"
);
return
;
return
;
}
}
this
.
userDeptDialog
.
data
[
'
deptId
'
]
=
this
.
node
.
id
;
this
.
userDeptDialog
.
data
[
"
deptId
"
]
=
this
.
node
.
id
;
this
.
userDeptDialog
.
data
[
'
deptName
'
]
=
this
.
node
.
label
;
this
.
userDeptDialog
.
data
[
"
deptName
"
]
=
this
.
node
.
label
;
this
.
$post
(
"
/user/save
"
,
this
.
userDeptDialog
.
data
).
then
((
res
)
=>
{
this
.
$post
(
"
/user/save
"
,
this
.
userDeptDialog
.
data
).
then
((
res
)
=>
{
if
(
res
&&
res
.
code
==
1
)
{
if
(
res
&&
res
.
code
==
1
)
{
this
.
userDeptDialog
.
data
=
{};
this
.
userDeptDialog
.
data
=
{};
this
.
node
=
null
;
this
.
node
=
null
;
this
.
$message
.
success
(
"
分配部门成功!
"
);
this
.
$message
.
success
(
"
分配部门成功!
"
);
this
.
getData
();
this
.
getData
();
}
}
...
@@ -148,7 +145,6 @@ export default {
...
@@ -148,7 +145,6 @@ export default {
});
});
},
},
// 获取角色列表与当前用户角色列表
// 获取角色列表与当前用户角色列表
userRoleConfirm
(
row
)
{
userRoleConfirm
(
row
)
{
let
data
=
this
.
userRoleDialog
.
data
;
let
data
=
this
.
userRoleDialog
.
data
;
...
@@ -182,7 +178,6 @@ export default {
...
@@ -182,7 +178,6 @@ export default {
this
.
tableData
.
loading
=
false
;
this
.
tableData
.
loading
=
false
;
},
},
async
distributeDept
(
row
)
{
async
distributeDept
(
row
)
{
console
.
log
(
"
分配部门
"
);
console
.
log
(
"
分配部门
"
);
try
{
try
{
...
@@ -193,9 +188,8 @@ export default {
...
@@ -193,9 +188,8 @@ export default {
parentId
:
0
,
parentId
:
0
,
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
this
.
data
=
data
.
result
;
this
.
data
=
data
.
result
;
this
.
node
=
{}
this
.
node
=
{};
console
.
log
(
"
data
"
,
this
.
data
)
console
.
log
(
"
data
"
,
this
.
data
);
});
});
this
.
userDeptDialog
.
open
=
true
;
this
.
userDeptDialog
.
open
=
true
;
});
});
...
@@ -218,8 +212,8 @@ export default {
...
@@ -218,8 +212,8 @@ export default {
getRoleUsers
(
id
)
{
getRoleUsers
(
id
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
.
$post
(
"
/role/user/list
"
,
{
this
.
$post
(
"
/role/user/list
"
,
{
"
userId
"
:
id
,
userId
:
id
,
"
size
"
:
-
1
,
size
:
-
1
,
})
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
const
result
=
data
.
data
const
result
=
data
.
data
...
@@ -247,7 +241,7 @@ export default {
...
@@ -247,7 +241,7 @@ export default {
return
{
return
{
allRoles
:
{},
allRoles
:
{},
nodeData
:
{},
nodeData
:
{},
node
:{},
node
:
{},
data
:
[],
data
:
[],
tree
:
[],
tree
:
[],
roles
:
[],
roles
:
[],
...
@@ -276,10 +270,10 @@ export default {
...
@@ -276,10 +270,10 @@ export default {
visible
:
false
,
visible
:
false
,
},
},
config
:
{
config
:
{
isshowTabPane
:
true
,
isshowTabPane
:
true
,
columns
:
[
columns
:
[
{
type
:
"
selection
"
,
reserveSelection
:
true
,
width
:
60
},
{
type
:
"
selection
"
,
reserveSelection
:
true
,
width
:
60
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
align
:
"
center
"
,
width
:
50
},
{
type
:
"
index
"
,
label
:
"
序号
"
,
align
:
"
center
"
,
width
:
50
},
{
{
prop
:
"
loginName
"
,
prop
:
"
loginName
"
,
label
:
"
登录名称
"
,
label
:
"
登录名称
"
,
...
@@ -353,7 +347,7 @@ export default {
...
@@ -353,7 +347,7 @@ export default {
>
>
分配部门
分配部门
<
/el-button
>
<
/el-button
>
<
span
>
<
/span
>
<
span
>
<
/span
>
<
el
-
button
<
el
-
button
size
=
"
mini
"
size
=
"
mini
"
type
=
"
text
"
type
=
"
text
"
...
@@ -362,7 +356,6 @@ export default {
...
@@ -362,7 +356,6 @@ export default {
>
>
修改密码
修改密码
<
/el-button
>
<
/el-button
>
<
/div
>
<
/div
>
);
);
},
},
...
@@ -464,7 +457,5 @@ export default {
...
@@ -464,7 +457,5 @@ export default {
top
:
12px
;
top
:
12px
;
width
:
24px
;
width
:
24px
;
}
}
}
}
</
style
>
</
style
>
attendance-performance-manager-ui/admin/yarn.lock
View file @
ae7a1d8e
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/AppealApiController.java
View file @
ae7a1d8e
...
@@ -67,7 +67,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
...
@@ -67,7 +67,7 @@ public class AppealApiController extends AbstractBaseController<PerformReq> {
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
Check
Status
Enum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
Check
Result
Enum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/InspectApiController.java
View file @
ae7a1d8e
...
@@ -91,7 +91,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
...
@@ -91,7 +91,7 @@ public class InspectApiController extends AbstractBaseController<PerformReq> {
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
Check
Status
Enum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
Check
Result
Enum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/busiz/h5/web/PerformApiController.java
View file @
ae7a1d8e
...
@@ -86,7 +86,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -86,7 +86,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
Check
Status
Enum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
Check
Result
Enum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
...
@@ -181,6 +181,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -181,6 +181,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckAllRecordVo
>
result
=
checkAllRecordService
.
getAllCheckRecord
(
query
,
pageInfo
);
Result
<
CheckAllRecordVo
>
result
=
checkAllRecordService
.
getAllCheckRecord
(
query
,
pageInfo
);
List
<
CheckAllRecordVo
>
allCheckRecord
=
result
.
getList
();
List
<
CheckAllRecordVo
>
allCheckRecord
=
result
.
getList
();
...
@@ -198,7 +199,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -198,7 +199,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckAttendRecordEntity
>
result
=
checkAttendRecordService
.
find
(
query
,
pageInfo
,
context
);
Result
<
CheckAttendRecordEntity
>
result
=
checkAttendRecordService
.
find
(
query
,
pageInfo
,
context
);
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
PerformInfo
performInfo
=
new
PerformInfo
();
PerformInfo
performInfo
=
new
PerformInfo
();
...
@@ -223,7 +224,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -223,7 +224,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckReviewRecordEntity
>
result
=
checkReviewRecordService
.
find
(
query
,
pageInfo
,
context
);
Result
<
CheckReviewRecordEntity
>
result
=
checkReviewRecordService
.
find
(
query
,
pageInfo
,
context
);
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
PerformInfo
performInfo
=
new
PerformInfo
();
PerformInfo
performInfo
=
new
PerformInfo
();
...
@@ -248,7 +249,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -248,7 +249,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckComplainRecordEntity
>
result
=
checkComplainRecordService
.
find
(
query
,
pageInfo
,
context
);
Result
<
CheckComplainRecordEntity
>
result
=
checkComplainRecordService
.
find
(
query
,
pageInfo
,
context
);
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
PerformInfo
performInfo
=
new
PerformInfo
();
PerformInfo
performInfo
=
new
PerformInfo
();
...
@@ -273,7 +274,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -273,7 +274,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckGoworkRecordEntity
>
result
=
checkGoworkRecordService
.
find
(
query
,
pageInfo
,
context
);
Result
<
CheckGoworkRecordEntity
>
result
=
checkGoworkRecordService
.
find
(
query
,
pageInfo
,
context
);
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
PerformInfo
performInfo
=
new
PerformInfo
();
PerformInfo
performInfo
=
new
PerformInfo
();
...
@@ -299,7 +300,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -299,7 +300,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckEffectRecordEntity
>
result
=
checkEffectRecordService
.
find
(
query
,
pageInfo
,
context
);
Result
<
CheckEffectRecordEntity
>
result
=
checkEffectRecordService
.
find
(
query
,
pageInfo
,
context
);
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
PerformInfo
performInfo
=
new
PerformInfo
();
PerformInfo
performInfo
=
new
PerformInfo
();
...
@@ -323,7 +324,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
...
@@ -323,7 +324,7 @@ public class PerformApiController extends AbstractBaseController<PerformReq> {
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeStart
(
performReq
.
getPerformStartDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setCheckTimeEnd
(
performReq
.
getPerformEndDate
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setStaffId
(
context
.
getUser
().
getCustomerId
());
query
.
setCheckStatus
(
CheckStatusEnum
.
已处理
.
getValue
());
Result
<
CheckOtherRecordEntity
>
result
=
checkOtherRecordService
.
find
(
query
,
pageInfo
,
context
);
Result
<
CheckOtherRecordEntity
>
result
=
checkOtherRecordService
.
find
(
query
,
pageInfo
,
context
);
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
List
<
PerformInfo
>
collect
=
result
.
getList
().
stream
().
map
(
item
->
{
PerformInfo
performInfo
=
new
PerformInfo
();
PerformInfo
performInfo
=
new
PerformInfo
();
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckAttendRecordServiceImpl.java
View file @
ae7a1d8e
...
@@ -155,6 +155,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
...
@@ -155,6 +155,7 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setAttendScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
setAttendScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
...
@@ -163,20 +164,20 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
...
@@ -163,20 +164,20 @@ public class CheckAttendRecordServiceImpl extends AbstractCRUDServiceImpl<CheckA
summaryQuery
.
setMonth
(
vo
.
getMonth
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
)
{
if
(
temp
!=
null
)
{
if
(
temp
.
getReviewScore
()
=
=
null
)
{
if
(
temp
.
getReviewScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setReviewScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setReviewScore
(
temp
.
getReviewScore
(
));
}
}
if
(
temp
.
getOtherScore
()
=
=
null
)
{
if
(
temp
.
getOtherScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
temp
.
getOtherScore
(
));
}
}
if
(
temp
.
getGoworkScore
()
=
=
null
)
{
if
(
temp
.
getGoworkScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setGoworkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setGoworkScore
(
temp
.
getGoworkScore
(
));
}
}
if
(
temp
.
getEffectScore
()
=
=
null
)
{
if
(
temp
.
getEffectScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
temp
.
getEffectScore
(
));
}
}
if
(
temp
.
getComplainScore
()
=
=
null
)
{
if
(
temp
.
getComplainScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setComplainScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setComplainScore
(
temp
.
getComplainScore
(
));
}
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckComplainRecordServiceImpl.java
View file @
ae7a1d8e
...
@@ -157,6 +157,7 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
...
@@ -157,6 +157,7 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
)){
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
)){
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setComplainScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
setComplainScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
...
@@ -165,20 +166,20 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
...
@@ -165,20 +166,20 @@ public class CheckComplainRecordServiceImpl extends AbstractCRUDServiceImpl<Chec
summaryQuery
.
setMonth
(
vo
.
getMonth
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
!=
null
){
if
(
temp
.
getAttendScore
()
=
=
null
){
if
(
temp
.
getAttendScore
()
!
=
null
){
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setAttendScore
(
temp
.
getAttendScore
(
));
}
}
if
(
temp
.
getOtherScore
()
=
=
null
){
if
(
temp
.
getOtherScore
()
!
=
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
temp
.
getOtherScore
(
));
}
}
if
(
temp
.
getGoworkScore
()
=
=
null
){
if
(
temp
.
getGoworkScore
()
!
=
null
){
staffPerformSummaryEntity
.
setGoworkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setGoworkScore
(
temp
.
getGoworkScore
(
));
}
}
if
(
temp
.
getEffectScore
()
=
=
null
){
if
(
temp
.
getEffectScore
()
!
=
null
){
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
temp
.
getEffectScore
(
));
}
}
if
(
temp
.
getReviewScore
()
=
=
null
){
if
(
temp
.
getReviewScore
()
!
=
null
){
staffPerformSummaryEntity
.
setReviewScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setReviewScore
(
temp
.
getReviewScore
(
));
}
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckEffectRecordServiceImpl.java
View file @
ae7a1d8e
...
@@ -157,6 +157,7 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
...
@@ -157,6 +157,7 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
)){
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
)){
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setEffectScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
setEffectScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
...
@@ -165,20 +166,20 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
...
@@ -165,20 +166,20 @@ public class CheckEffectRecordServiceImpl extends AbstractCRUDServiceImpl<CheckE
summaryQuery
.
setMonth
(
vo
.
getMonth
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
!=
null
){
if
(
temp
.
getReviewScore
()
=
=
null
){
if
(
temp
.
getReviewScore
()
!
=
null
){
staffPerformSummaryEntity
.
setReviewScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setReviewScore
(
temp
.
getReviewScore
(
));
}
}
if
(
temp
.
getOtherScore
()
=
=
null
){
if
(
temp
.
getOtherScore
()
!
=
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
temp
.
getOtherScore
(
));
}
}
if
(
temp
.
getGoworkScore
()
=
=
null
){
if
(
temp
.
getGoworkScore
()
!
=
null
){
staffPerformSummaryEntity
.
setGoworkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setGoworkScore
(
temp
.
getGoworkScore
(
));
}
}
if
(
temp
.
getAttendScore
()
=
=
null
){
if
(
temp
.
getAttendScore
()
!
=
null
){
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setAttendScore
(
temp
.
getAttendScore
(
));
}
}
if
(
temp
.
getComplainScore
()
=
=
null
)
{
if
(
temp
.
getComplainScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setComplainScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setComplainScore
(
temp
.
getComplainScore
(
));
}
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckGoworkRecordServiceImpl.java
View file @
ae7a1d8e
...
@@ -156,6 +156,7 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
...
@@ -156,6 +156,7 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
)){
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
)){
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
for
(
StaffCheckSummaryVo
vo:
summaryVoList
){
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setGoworkScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
setGoworkScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
...
@@ -164,20 +165,20 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
...
@@ -164,20 +165,20 @@ public class CheckGoworkRecordServiceImpl extends AbstractCRUDServiceImpl<CheckG
summaryQuery
.
setMonth
(
vo
.
getMonth
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
){
if
(
temp
!=
null
){
if
(
temp
.
getReviewScore
()
=
=
null
){
if
(
temp
.
getReviewScore
()
!
=
null
){
staffPerformSummaryEntity
.
setReviewScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setReviewScore
(
temp
.
getReviewScore
(
));
}
}
if
(
temp
.
getOtherScore
()
=
=
null
){
if
(
temp
.
getOtherScore
()
!
=
null
){
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
temp
.
getOtherScore
(
));
}
}
if
(
temp
.
getAttendScore
()
=
=
null
){
if
(
temp
.
getAttendScore
()
!
=
null
){
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setAttendScore
(
temp
.
getAttendScore
(
));
}
}
if
(
temp
.
getEffectScore
()
=
=
null
){
if
(
temp
.
getEffectScore
()
!
=
null
){
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
temp
.
getEffectScore
(
));
}
}
if
(
temp
.
getComplainScore
()
=
=
null
)
{
if
(
temp
.
getComplainScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setComplainScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setComplainScore
(
temp
.
getComplainScore
(
));
}
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckOtherRecordServiceImpl.java
View file @
ae7a1d8e
...
@@ -162,6 +162,7 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
...
@@ -162,6 +162,7 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setOtherScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
setOtherScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
...
@@ -170,20 +171,20 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
...
@@ -170,20 +171,20 @@ public class CheckOtherRecordServiceImpl extends AbstractCRUDServiceImpl<CheckOt
summaryQuery
.
setMonth
(
vo
.
getMonth
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
)
{
if
(
temp
!=
null
)
{
if
(
temp
.
getReviewScore
()
=
=
null
)
{
if
(
temp
.
getReviewScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setReviewScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setReviewScore
(
temp
.
getReviewScore
(
));
}
}
if
(
temp
.
getAttendScore
()
=
=
null
)
{
if
(
temp
.
getAttendScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setAttendScore
(
temp
.
getAttendScore
(
));
}
}
if
(
temp
.
getGoworkScore
()
=
=
null
)
{
if
(
temp
.
getGoworkScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setGoworkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setGoworkScore
(
temp
.
getGoworkScore
(
));
}
}
if
(
temp
.
getEffectScore
()
=
=
null
)
{
if
(
temp
.
getEffectScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
temp
.
getEffectScore
(
));
}
}
if
(
temp
.
getComplainScore
()
=
=
null
)
{
if
(
temp
.
getComplainScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setComplainScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setComplainScore
(
temp
.
getComplainScore
(
));
}
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/service/impl/CheckReviewRecordServiceImpl.java
View file @
ae7a1d8e
...
@@ -162,6 +162,7 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
...
@@ -162,6 +162,7 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
summaryVoList
))
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
for
(
StaffCheckSummaryVo
vo
:
summaryVoList
)
{
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
StaffPerformSummaryEntity
staffPerformSummaryEntity
=
new
StaffPerformSummaryEntity
();
staffPerformSummaryEntity
.
initAttrValue
();
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
BeanUtils
.
copyProperties
(
vo
,
staffPerformSummaryEntity
,
BeanUtil
.
getNullPropertyNames
(
vo
));
staffPerformSummaryEntity
.
setReviewScore
(
vo
.
getSumScore
());
staffPerformSummaryEntity
.
setReviewScore
(
vo
.
getSumScore
());
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
StaffPerformSummaryQuery
summaryQuery
=
new
StaffPerformSummaryQuery
();
...
@@ -170,20 +171,20 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
...
@@ -170,20 +171,20 @@ public class CheckReviewRecordServiceImpl extends AbstractCRUDServiceImpl<CheckR
summaryQuery
.
setMonth
(
vo
.
getMonth
());
summaryQuery
.
setMonth
(
vo
.
getMonth
());
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
StaffPerformSummaryEntity
temp
=
staffPerformSummaryService
.
selectOne
(
summaryQuery
);
if
(
temp
!=
null
)
{
if
(
temp
!=
null
)
{
if
(
temp
.
getAttendScore
()
=
=
null
)
{
if
(
temp
.
getAttendScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setAttendScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setAttendScore
(
temp
.
getAttendScore
(
));
}
}
if
(
temp
.
getOtherScore
()
=
=
null
)
{
if
(
temp
.
getOtherScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setOtherScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setOtherScore
(
temp
.
getOtherScore
(
));
}
}
if
(
temp
.
getGoworkScore
()
=
=
null
)
{
if
(
temp
.
getGoworkScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setGoworkScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setGoworkScore
(
temp
.
getGoworkScore
(
));
}
}
if
(
temp
.
getEffectScore
()
=
=
null
)
{
if
(
temp
.
getEffectScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setEffectScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setEffectScore
(
temp
.
getEffectScore
(
));
}
}
if
(
temp
.
getComplainScore
()
=
=
null
)
{
if
(
temp
.
getComplainScore
()
!
=
null
)
{
staffPerformSummaryEntity
.
setComplainScore
(
new
BigDecimal
(
0
));
staffPerformSummaryEntity
.
setComplainScore
(
temp
.
getComplainScore
(
));
}
}
BigDecimal
erro
=
new
BigDecimal
(
0
);
BigDecimal
erro
=
new
BigDecimal
(
0
);
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
erro
=
erro
.
add
(
staffPerformSummaryEntity
.
getReviewScore
());
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckAllRecordController.java
View file @
ae7a1d8e
...
@@ -47,6 +47,7 @@ public class CheckAllRecordController extends BaseJsonBodyController {
...
@@ -47,6 +47,7 @@ public class CheckAllRecordController extends BaseJsonBodyController {
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
}
}
@PostMapping
({
"list"
})
@PostMapping
({
"list"
})
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckAttendRecordController.java
View file @
ae7a1d8e
...
@@ -4,10 +4,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -4,10 +4,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.CheckTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -61,6 +58,7 @@ public class CheckAttendRecordController extends BaseCRUDJsonBodyMappingControll
...
@@ -61,6 +58,7 @@ public class CheckAttendRecordController extends BaseCRUDJsonBodyMappingControll
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
super
.
init
(
model
,
context
);
}
}
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckComplainRecordController.java
View file @
ae7a1d8e
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.CheckTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -49,12 +46,11 @@ public class CheckComplainRecordController extends BaseCRUDJsonBodyMappingContro
...
@@ -49,12 +46,11 @@ public class CheckComplainRecordController extends BaseCRUDJsonBodyMappingContro
@Override
@Override
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkStatus"
,
CheckStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
()
);
}
}
@Override
@Override
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckEffectRecordController.java
View file @
ae7a1d8e
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.CheckTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -54,9 +51,7 @@ public class CheckEffectRecordController extends BaseCRUDJsonBodyMappingControll
...
@@ -54,9 +51,7 @@ public class CheckEffectRecordController extends BaseCRUDJsonBodyMappingControll
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
}
}
@Override
@Override
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckGoworkRecordController.java
View file @
ae7a1d8e
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.CheckTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -54,7 +51,7 @@ public class CheckGoworkRecordController extends BaseCRUDJsonBodyMappingControll
...
@@ -54,7 +51,7 @@ public class CheckGoworkRecordController extends BaseCRUDJsonBodyMappingControll
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
()
);
}
}
@Override
@Override
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckOtherRecordController.java
View file @
ae7a1d8e
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.CheckTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -54,7 +51,7 @@ public class CheckOtherRecordController extends BaseCRUDJsonBodyMappingControlle
...
@@ -54,7 +51,7 @@ public class CheckOtherRecordController extends BaseCRUDJsonBodyMappingControlle
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
SubMethodEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
()
);
}
}
@Override
@Override
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/check/web/CheckReviewRecordController.java
View file @
ae7a1d8e
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
...
@@ -3,10 +3,7 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.model.OrderCol
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.common.code.CheckStatusEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.CheckTypeEnum
;
import
com.mortals.xhx.common.code.SubAddTypeEnum
;
import
com.mortals.xhx.common.code.SubMethodEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -57,7 +54,7 @@ public class CheckReviewRecordController extends BaseCRUDJsonBodyMappingControll
...
@@ -57,7 +54,7 @@ public class CheckReviewRecordController extends BaseCRUDJsonBodyMappingControll
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subAddType"
,
SubAddTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"checkType"
,
CheckTypeEnum
.
getEnumMap
());
super
.
init
(
model
,
context
);
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
()
);
}
}
@Override
@Override
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/feedback/web/FeedbackController.java
View file @
ae7a1d8e
...
@@ -110,15 +110,30 @@ public class FeedbackController extends BaseCRUDJsonBodyMappingController<Feedba
...
@@ -110,15 +110,30 @@ public class FeedbackController extends BaseCRUDJsonBodyMappingController<Feedba
PageInfo
pageInfo
=
this
.
buildPageInfo
(
query
);
PageInfo
pageInfo
=
this
.
buildPageInfo
(
query
);
Result
<
FeedbackStaffInfoVo
>
result
=
this
.
getService
().
getFeedbackStaffList
(
query
,
pageInfo
);
Result
<
FeedbackStaffInfoVo
>
result
=
this
.
getService
().
getFeedbackStaffList
(
query
,
pageInfo
);
if
(
CollectionUtils
.
isNotEmpty
(
result
.
getList
()))
{
if
(
CollectionUtils
.
isNotEmpty
(
result
.
getList
()))
{
Map
<
Integer
,
List
<
FeedbackStaffInfoVo
>>
groupMap
=
result
.
getList
().
stream
().
collect
(
Collectors
.
groupingBy
(
FeedbackStaffInfoVo:
:
getBackStatus
));
// Map<Integer, List<FeedbackStaffInfoVo>> groupMap = result.getList().stream().collect(Collectors.groupingBy(FeedbackStaffInfoVo::getBackStatus));
if
(
groupMap
.
containsKey
(
1
))
{
// if (groupMap.containsKey(1)) {
model
.
put
(
"feedBack"
,
groupMap
.
get
(
1
).
size
());
// model.put("feedBack", groupMap.get(1).size());
}
else
{
// } else {
// model.put("feedBack", 0);
// }
// if (groupMap.containsKey(0)) {
// model.put("notBack", groupMap.get(0).size());
// } else {
// model.put("notBack", 0);
// }
query
.
setBackStatus
(
1
);
PageInfo
noPageInfo
=
new
PageInfo
(-
1
);
Result
<
FeedbackStaffInfoVo
>
feedBack
=
this
.
getService
().
getFeedbackStaffList
(
query
,
noPageInfo
);
query
.
setBackStatus
(
0
);
Result
<
FeedbackStaffInfoVo
>
notBack
=
this
.
getService
().
getFeedbackStaffList
(
query
,
noPageInfo
);
if
(
CollectionUtils
.
isNotEmpty
(
feedBack
.
getList
())){
model
.
put
(
"feedBack"
,
feedBack
.
getList
().
size
());
}
else
{
model
.
put
(
"feedBack"
,
0
);
model
.
put
(
"feedBack"
,
0
);
}
}
if
(
groupMap
.
containsKey
(
0
))
{
if
(
CollectionUtils
.
isNotEmpty
(
notBack
.
getList
()))
{
model
.
put
(
"notBack"
,
groupMap
.
get
(
0
).
size
());
model
.
put
(
"notBack"
,
notBack
.
getList
(
).
size
());
}
else
{
}
else
{
model
.
put
(
"notBack"
,
0
);
model
.
put
(
"notBack"
,
0
);
}
}
}
else
{
}
else
{
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/service/impl/PerformAttendAppealServiceImpl.java
View file @
ae7a1d8e
...
@@ -74,7 +74,8 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -74,7 +74,8 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
private
void
sendCheckDingTalk
(
PerformAttendAppealEntity
entity
)
{
private
void
sendCheckDingTalk
(
PerformAttendAppealEntity
entity
)
{
String
ruleStr
=
String
.
format
(
"%s/%s/%s"
,
PerformTypeEnum
.
getByValue
(
entity
.
getPerformType
()).
getDesc
(),
entity
.
getCategoryName
(),
entity
.
getRuleName
());
// String ruleStr = String.format("%s/%s/%s", PerformTypeEnum.getByValue(entity.getPerformType()).getDesc(), entity.getCategoryName(), entity.getRuleName());
String
ruleStr
=
String
.
format
(
"%s/%s/%s"
,
PerformTypeEnum
.
考勤绩效
.
getDesc
(),
entity
.
getCategoryName
(),
entity
.
getRuleName
());
//绩效核查通知
//绩效核查通知
StaffEntity
staffCache
=
staffService
.
getCache
(
entity
.
getStaffId
().
toString
());
StaffEntity
staffCache
=
staffService
.
getCache
(
entity
.
getStaffId
().
toString
());
if
(!
ObjectUtils
.
isEmpty
(
staffCache
))
{
if
(!
ObjectUtils
.
isEmpty
(
staffCache
))
{
...
@@ -121,7 +122,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
...
@@ -121,7 +122,7 @@ public class PerformAttendAppealServiceImpl extends AbstractCRUDServiceImpl<Perf
}
}
String
appealMsg
=
"申诉成功,返回所扣分数,申诉ID:"
+
appeal
.
getId
().
toString
();
String
appealMsg
=
"申诉成功,返回所扣分数,申诉ID:"
+
appeal
.
getId
().
toString
();
sendCheckDingTalk
(
appealEntity
);
sendCheckDingTalk
(
appealEntity
);
log
.
info
(
appealMsg
);
log
.
info
(
appealMsg
);
if
(
appeal
.
getAppealResult
()
==
AppealResultEnum
.
通过
.
getValue
())
{
if
(
appeal
.
getAppealResult
()
==
AppealResultEnum
.
通过
.
getValue
())
{
if
(
appeal
.
getSubAddType
()
==
SubAddTypeEnum
.
扣除
.
getValue
())
{
if
(
appeal
.
getSubAddType
()
==
SubAddTypeEnum
.
扣除
.
getValue
())
{
...
...
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/web/PerformAttendAppealController.java
View file @
ae7a1d8e
...
@@ -10,10 +10,7 @@ import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
...
@@ -10,10 +10,7 @@ import com.mortals.framework.web.BaseCRUDJsonBodyMappingController;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.base.system.user.model.UserQuery
;
import
com.mortals.xhx.base.system.user.model.UserQuery
;
import
com.mortals.xhx.base.system.user.service.UserService
;
import
com.mortals.xhx.base.system.user.service.UserService
;
import
com.mortals.xhx.common.code.EnabledEnum
;
import
com.mortals.xhx.common.code.*
;
import
com.mortals.xhx.common.code.IrregularTypeEnum
;
import
com.mortals.xhx.common.code.ProcessStatusEnum
;
import
com.mortals.xhx.common.code.YesNoEnum
;
import
com.mortals.xhx.module.perform.model.PerformRulesQuery
;
import
com.mortals.xhx.module.perform.model.PerformRulesQuery
;
import
com.mortals.xhx.module.perform.model.vo.AppealInfo
;
import
com.mortals.xhx.module.perform.model.vo.AppealInfo
;
import
com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery
;
import
com.mortals.xhx.module.perform.model.vo.AppealSummaryQuery
;
...
@@ -76,7 +73,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
...
@@ -76,7 +73,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
this
.
addDict
(
model
,
"updateUserId"
,
userService
.
find
(
new
UserQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"updateUserId"
,
userService
.
find
(
new
UserQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getRealName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"ruleId"
,
rulesService
.
find
(
new
PerformRulesQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"ruleId"
,
rulesService
.
find
(
new
PerformRulesQuery
()).
stream
().
collect
(
toMap
(
x
->
x
.
getId
().
toString
(),
y
->
y
.
getName
(),
(
o
,
n
)
->
n
)));
this
.
addDict
(
model
,
"checkResult"
,
CheckResultEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"subMethod"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subMethod"
));
this
.
addDict
(
model
,
"subMethod"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subMethod"
));
this
.
addDict
(
model
,
"subAddType"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subAddType"
));
this
.
addDict
(
model
,
"subAddType"
,
paramService
.
getParamBySecondOrganize
(
"PerformAttendAppeal"
,
"subAddType"
));
this
.
addDict
(
model
,
"processStatus"
,
ProcessStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"processStatus"
,
ProcessStatusEnum
.
getEnumMap
());
...
@@ -137,6 +134,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
...
@@ -137,6 +134,7 @@ public class PerformAttendAppealController extends BaseCRUDJsonBodyMappingContro
}
}
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_SUCCESS
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_SUCCESS
);
jsonObject
.
put
(
KEY_RESULT_MSG
,
busiDesc
+
"成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"申诉审核"
,
e
);
log
.
error
(
"申诉审核"
,
e
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
jsonObject
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
...
...
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