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
17c806bb
Commit
17c806bb
authored
1 year ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
个人和部门统计添加字段
parent
b203c84e
Changes
14
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
3207 additions
and
1304 deletions
+3207
-1304
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptPerformStatEntity.java
.../mortals/xhx/module/dept/model/DeptPerformStatEntity.java
+35
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptPerformStatQuery.java
...m/mortals/xhx/module/dept/model/DeptPerformStatQuery.java
+751
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/vo/DeptPerformStatVo.java
...m/mortals/xhx/module/dept/model/vo/DeptPerformStatVo.java
+4
-11
attendance-performance-manager/src/main/java/com/mortals/xhx/module/feedback/model/vo/FeedbackVo.java
.../com/mortals/xhx/module/feedback/model/vo/FeedbackVo.java
+2
-0
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformPerposeStaffStatEntity.java
...x/module/perform/model/PerformPerposeStaffStatEntity.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformPerposeStaffStatQuery.java
...hx/module/perform/model/PerformPerposeStaffStatQuery.java
+1
-1
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/vo/PerformPerposeStaffStatVo.java
...hx/module/perform/model/vo/PerformPerposeStaffStatVo.java
+4
-3
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformStatEntity.java
...ortals/xhx/module/staff/model/StaffPerformStatEntity.java
+41
-14
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformStatQuery.java
...mortals/xhx/module/staff/model/StaffPerformStatQuery.java
+1591
-991
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/vo/StaffPerformStatVo.java
...mortals/xhx/module/staff/model/vo/StaffPerformStatVo.java
+4
-11
attendance-performance-manager/src/main/resources/sqlmap/module/dept/DeptPerformStatMapper.xml
...in/resources/sqlmap/module/dept/DeptPerformStatMapper.xml
+274
-4
attendance-performance-manager/src/main/resources/sqlmap/module/staff/StaffPerformStatMapper.xml
.../resources/sqlmap/module/staff/StaffPerformStatMapper.xml
+482
-266
db/add.sql
db/add.sql
+17
-0
doc/考勤绩效管理系统.docx
doc/考勤绩效管理系统.docx
+0
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptPerformStatEntity.java
View file @
17c806bb
...
...
@@ -11,7 +11,7 @@ import lombok.Data;
* 部门绩效分数统计实体对象
*
* @author zxfei
* @date 2023-0
5-16
* @date 2023-0
7-11
*/
@Data
public
class
DeptPerformStatEntity
extends
DeptPerformStatVo
{
...
...
@@ -28,6 +28,7 @@ public class DeptPerformStatEntity extends DeptPerformStatVo {
/**
* 部门绩效总分数
*/
@Excel
(
name
=
"部门绩效总分数"
)
private
BigDecimal
totalScore
;
/**
* 考勤绩效指标增加分数
...
...
@@ -85,6 +86,29 @@ public class DeptPerformStatEntity extends DeptPerformStatVo {
* 日
*/
private
Integer
day
;
/**
* 部门绩效加分总分数汇总
*/
@Excel
(
name
=
"部门绩效加分总分数汇总"
)
private
BigDecimal
totalAddScore
;
/**
* 部门绩效减分总分数汇总
*/
@Excel
(
name
=
"部门绩效减分总分数汇总"
)
private
BigDecimal
totalSubScore
;
/**
* 投诉绩效指标增加分数
*/
private
BigDecimal
complainScoreAdd
;
/**
* 投诉绩效指标扣减分数
*/
private
BigDecimal
complainScoreSub
;
/**
* 部门绩效平均分数,根据部门所属人数平均
*/
@Excel
(
name
=
"部门绩效平均分数,根据部门所属人数平均"
)
private
BigDecimal
averageScore
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
...
...
@@ -136,5 +160,15 @@ public class DeptPerformStatEntity extends DeptPerformStatVo {
this
.
month
=
-
1
;
this
.
day
=
-
1
;
this
.
totalAddScore
=
new
BigDecimal
(
0
);
this
.
totalSubScore
=
new
BigDecimal
(
0
);
this
.
complainScoreAdd
=
new
BigDecimal
(
0
);
this
.
complainScoreSub
=
new
BigDecimal
(
0
);
this
.
averageScore
=
new
BigDecimal
(
0
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/DeptPerformStatQuery.java
View file @
17c806bb
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/dept/model/vo/DeptPerformStatVo.java
View file @
17c806bb
package
com.mortals.xhx.module.dept.model.vo
;
import
com.mortals.framework.annotation.Excel
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.dept.model.DeptPerformStatEntity
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.List
;
import
lombok.Data
;
import
com.mortals.framework.annotation.Excel
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 部门绩效分数统计视图对象
*
* @author zxfei
* @date 2023-0
5-16
* @date 2023-0
7-11
*/
@Data
public
class
DeptPerformStatVo
extends
BaseEntityLong
{
/**
* 部门绩效总分数
*/
@Excel
(
name
=
"部门绩效总分数"
)
private
BigDecimal
totalScore
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/feedback/model/vo/FeedbackVo.java
View file @
17c806bb
...
...
@@ -16,4 +16,6 @@ import java.util.Date;
@Data
public
class
FeedbackVo
extends
BaseEntityLong
{
private
List
<
Long
>
staffList
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformPerposeStaffStatEntity.java
View file @
17c806bb
...
...
@@ -11,7 +11,7 @@ import lombok.Data;
* 员工目标统计实体对象
*
* @author zxfei
* @date 2023-0
5-16
* @date 2023-0
7-11
*/
@Data
public
class
PerformPerposeStaffStatEntity
extends
PerformPerposeStaffStatVo
{
...
...
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformPerposeStaffStatQuery.java
View file @
17c806bb
...
...
@@ -7,7 +7,7 @@ import com.mortals.xhx.module.perform.model.PerformPerposeStaffStatEntity;
* 员工目标统计查询对象
*
* @author zxfei
* @date 2023-0
5-16
* @date 2023-0
7-11
*/
public
class
PerformPerposeStaffStatQuery
extends
PerformPerposeStaffStatEntity
{
/** 开始 主键ID,主键,自增长 */
...
...
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/vo/PerformPerposeStaffStatVo.java
View file @
17c806bb
...
...
@@ -4,15 +4,16 @@ import com.mortals.xhx.module.perform.model.PerformPerposeStaffStatEntity;
import
java.util.ArrayList
;
import
java.util.List
;
import
lombok.Data
;
import
com.mortals.framework.annotation.Excel
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 员工目标统计视图对象
*
* @author zxfei
* @date 2023-0
5-16
* @date 2023-0
7-11
*/
@Data
public
class
PerformPerposeStaffStatVo
extends
BaseEntityLong
{
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformStatEntity.java
View file @
17c806bb
...
...
@@ -11,7 +11,7 @@ import lombok.Data;
* 员工绩效统计实体对象
*
* @author zxfei
* @date 2023-0
5-17
* @date 2023-0
7-11
*/
@Data
public
class
StaffPerformStatEntity
extends
StaffPerformStatVo
{
...
...
@@ -26,10 +26,23 @@ public class StaffPerformStatEntity extends StaffPerformStatVo {
*/
private
String
deptName
;
/**
*
部门
绩效总分数
*
员工
绩效总分数
*/
@Excel
(
name
=
"员工绩效总分数"
)
private
BigDecimal
totalScore
;
/**
* 备注
*/
private
String
remark
;
/**
* 年
*/
private
Integer
year
;
/**
* 月
*/
private
Integer
month
;
/**
* 考勤绩效指标增加分数
*/
private
BigDecimal
attendScoreAdd
;
...
...
@@ -70,21 +83,27 @@ public class StaffPerformStatEntity extends StaffPerformStatVo {
*/
private
BigDecimal
otherScoreSub
;
/**
*
备注
*
日
*/
private
String
remark
;
private
Integer
day
;
/**
*
年
*
员工绩效加分总分数汇总
*/
private
Integer
year
;
@Excel
(
name
=
"员工绩效加分总分数汇总"
)
private
BigDecimal
totalAddScore
;
/**
*
月
*
员工绩效减分总分数汇总
*/
private
Integer
month
;
@Excel
(
name
=
"员工绩效减分总分数汇总"
)
private
BigDecimal
totalSubScore
;
/**
*
日
*
投诉绩效指标增加分数
*/
private
Integer
day
;
private
BigDecimal
complainScoreAdd
;
/**
* 投诉绩效指标扣减分数
*/
private
BigDecimal
complainScoreSub
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
...
...
@@ -109,6 +128,12 @@ public class StaffPerformStatEntity extends StaffPerformStatVo {
this
.
totalScore
=
new
BigDecimal
(
0
);
this
.
remark
=
""
;
this
.
year
=
-
1
;
this
.
month
=
-
1
;
this
.
attendScoreAdd
=
new
BigDecimal
(
0
);
this
.
attendScoreSub
=
new
BigDecimal
(
0
);
...
...
@@ -129,12 +154,14 @@ public class StaffPerformStatEntity extends StaffPerformStatVo {
this
.
otherScoreSub
=
new
BigDecimal
(
0
);
this
.
remark
=
""
;
this
.
day
=
-
1
;
this
.
year
=
-
1
;
this
.
totalAddScore
=
new
BigDecimal
(
0
)
;
this
.
month
=
-
1
;
this
.
totalSubScore
=
new
BigDecimal
(
0
)
;
this
.
day
=
-
1
;
this
.
complainScoreAdd
=
new
BigDecimal
(
0
);
this
.
complainScoreSub
=
new
BigDecimal
(
0
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/StaffPerformStatQuery.java
View file @
17c806bb
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/staff/model/vo/StaffPerformStatVo.java
View file @
17c806bb
package
com.mortals.xhx.module.staff.model.vo
;
import
com.mortals.framework.annotation.Excel
;
import
com.mortals.framework.model.BaseEntityLong
;
import
com.mortals.xhx.module.staff.model.StaffPerformStatEntity
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.List
;
import
lombok.Data
;
import
com.mortals.framework.annotation.Excel
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 员工绩效统计视图对象
*
* @author zxfei
* @date 2023-0
5-17
* @date 2023-0
7-11
*/
@Data
public
class
StaffPerformStatVo
extends
BaseEntityLong
{
/**
* 部门绩效总分数
*/
@Excel
(
name
=
"部门绩效总分数"
)
private
BigDecimal
totalScore
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/resources/sqlmap/module/dept/DeptPerformStatMapper.xml
View file @
17c806bb
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/resources/sqlmap/module/staff/StaffPerformStatMapper.xml
View file @
17c806bb
This diff is collapsed.
Click to expand it.
db/add.sql
View file @
17c806bb
...
...
@@ -403,3 +403,20 @@ ALTER TABLE mortals_xhx_check_effect_record ADD COLUMN `subAddType` tinyint(1)
ALTER
TABLE
mortals_xhx_perform_other_record
ADD
COLUMN
`subAddType`
tinyint
(
1
)
DEFAULT
'1'
COMMENT
'增减类型(1.增加,2.扣除)'
AFTER
deductTime
;
ALTER
TABLE
mortals_xhx_check_other_record
ADD
COLUMN
`subAddType`
tinyint
(
1
)
DEFAULT
'1'
COMMENT
'增减类型(1.增加,2.扣除)'
AFTER
deductTime
;
-- ----------------------------
2023
-
7
-
10
2
-- ----------------------------
ALTER
TABLE
mortals_xhx_dept_perform_stat
ADD
COLUMN
`totalAddScore`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'部门绩效加分总分数汇总'
AFTER
otherScoreSub
;
ALTER
TABLE
mortals_xhx_dept_perform_stat
ADD
COLUMN
`totalSubScore`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'部门绩效减分总分数汇总'
AFTER
totalAddScore
;
ALTER
TABLE
mortals_xhx_dept_perform_stat
ADD
COLUMN
`complainScoreAdd`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'投诉绩效指标增加分数'
AFTER
totalSubScore
;
ALTER
TABLE
mortals_xhx_dept_perform_stat
ADD
COLUMN
`complainScoreSub`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'投诉绩效指标扣减分数'
AFTER
complainScoreAdd
;
ALTER
TABLE
mortals_xhx_dept_perform_stat
ADD
COLUMN
`averageScore`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'部门绩效平均分数,根据部门所属人数平均'
AFTER
complainScoreSub
;
ALTER
TABLE
mortals_xhx_staff_perform_stat
ADD
COLUMN
`totalAddScore`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'员工绩效加分总分数汇总'
AFTER
otherScoreSub
;
ALTER
TABLE
mortals_xhx_staff_perform_stat
ADD
COLUMN
`totalSubScore`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'员工绩效减分总分数汇总'
AFTER
totalAddScore
;
ALTER
TABLE
mortals_xhx_staff_perform_stat
ADD
COLUMN
`complainScoreAdd`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'员工绩效指标增加分数'
AFTER
totalSubScore
;
ALTER
TABLE
mortals_xhx_staff_perform_stat
ADD
COLUMN
`complainScoreSub`
decimal
(
10
,
2
)
DEFAULT
0
.
0
COMMENT
'员工绩效指标扣减分数'
AFTER
complainScoreAdd
;
This diff is collapsed.
Click to expand it.
doc/考勤绩效管理系统.docx
View file @
17c806bb
No preview for this file type
This diff is collapsed.
Click to expand it.
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