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
61ab114c
Commit
61ab114c
authored
Jul 10, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规则添加编码字段
parent
e9f02046
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1444 additions
and
1339 deletions
+1444
-1339
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformRulesEntity.java
.../mortals/xhx/module/perform/model/PerformRulesEntity.java
+43
-37
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformRulesQuery.java
...m/mortals/xhx/module/perform/model/PerformRulesQuery.java
+767
-711
attendance-performance-manager/src/main/resources/sqlmap/module/perform/PerformRulesMapper.xml
...in/resources/sqlmap/module/perform/PerformRulesMapper.xml
+631
-591
db/add.sql
db/add.sql
+3
-0
doc/考勤绩效管理系统.docx
doc/考勤绩效管理系统.docx
+0
-0
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformRulesEntity.java
View file @
61ab114c
...
...
@@ -8,58 +8,62 @@ import com.mortals.framework.model.BaseEntityLong;
import
com.mortals.xhx.module.perform.model.vo.PerformRulesVo
;
import
lombok.Data
;
/**
* 绩效规则信息实体对象
*
* @author zxfei
* @date 2023-05-16
*/
* 绩效规则信息实体对象
*
* @author zxfei
* @date 2023-07-10
*/
@Data
public
class
PerformRulesEntity
extends
PerformRulesVo
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 分类id
*/
* 分类id
*/
private
Long
categoryId
;
/**
* 分类名称
*/
* 分类名称
*/
private
String
categoryName
;
/**
* 考核内容简称
*/
* 考核内容简称
*/
private
String
name
;
/**
* 评分标准
*/
* 评分标准
*/
private
String
content
;
/**
* 增减类型(1.增加,2.扣除)
*/
* 增减类型(1.增加,2.扣除)
*/
private
Integer
subAddType
;
/**
* 扣分或增加分值
*/
* 扣分或增加分值
*/
private
BigDecimal
score
;
/**
* 是否关联负责人(0.否,1.是)
*/
* 是否关联负责人(0.否,1.是)
*/
private
Integer
assoOwner
;
/**
* 负责人扣分或增加分值
*/
* 负责人扣分或增加分值
*/
private
BigDecimal
ownerScore
;
/**
* 备注
*/
* 备注
*/
private
String
remark
;
/**
* 规则类型(1.考勤绩效,2.评价绩效指标,3.办件绩效指标,4.效能绩效指标,5.其它绩效指标)
*/
* 规则类型(1.考勤绩效,2.评价绩效指标,3.办件绩效指标,4.效能绩效指标,5.其它绩效指标)
*/
private
Integer
type
;
/**
* 规则编码,唯一,默认规则类型内容简称拼音首字母。
*/
private
String
ruleCode
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
return
this
.
getId
().
hashCode
();
}
@Override
public
boolean
equals
(
Object
obj
)
{
...
...
@@ -67,7 +71,7 @@ public class PerformRulesEntity extends PerformRulesVo {
if
(
obj
instanceof
PerformRulesEntity
)
{
PerformRulesEntity
tmp
=
(
PerformRulesEntity
)
obj
;
if
(
this
.
getId
()
==
tmp
.
getId
())
{
return
true
;
return
true
;
}
}
return
false
;
...
...
@@ -75,24 +79,26 @@ public class PerformRulesEntity extends PerformRulesVo {
public
void
initAttrValue
(){
this
.
categoryId
=
null
;
this
.
categoryId
=
-
1L
;
this
.
categoryName
=
""
;
this
.
categoryN
ame
=
""
;
this
.
n
ame
=
""
;
this
.
name
=
""
;
this
.
content
=
""
;
this
.
content
=
""
;
this
.
subAddType
=
1
;
this
.
subAddType
=
1
;
this
.
score
=
BigDecimal
.
valueOf
(
0.00
)
;
this
.
score
=
BigDecimal
.
valueOf
(
0.00
)
;
this
.
assoOwner
=
0
;
this
.
assoOwner
=
0
;
this
.
ownerScore
=
BigDecimal
.
valueOf
(
0.00
)
;
this
.
ownerScore
=
BigDecimal
.
valueOf
(
0.00
)
;
this
.
remark
=
""
;
this
.
remark
=
""
;
this
.
type
=
1
;
this
.
type
=
null
;
this
.
ruleCode
=
""
;
}
}
\ No newline at end of file
attendance-performance-manager/src/main/java/com/mortals/xhx/module/perform/model/PerformRulesQuery.java
View file @
61ab114c
This diff is collapsed.
Click to expand it.
attendance-performance-manager/src/main/resources/sqlmap/module/perform/PerformRulesMapper.xml
View file @
61ab114c
This diff is collapsed.
Click to expand it.
db/add.sql
View file @
61ab114c
...
...
@@ -381,3 +381,6 @@ ALTER TABLE mortals_xhx_check_other_record ADD COLUMN `categoryId` bigint(20)
ALTER
TABLE
mortals_xhx_check_other_record
ADD
COLUMN
`categoryName`
varchar
(
128
)
COMMENT
'规则名称'
AFTER
categoryId
;
ALTER
TABLE
mortals_xhx_perform_rules
ADD
COLUMN
`ruleCode`
varchar
(
64
)
COMMENT
'规则编码,唯一,默认规则类型内容简称拼音首字母。'
AFTER
id
;
doc/考勤绩效管理系统.docx
View file @
61ab114c
No preview for this file type
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