c4a10f17
姜超
feature(*): 保存排名名次修改
|
1
2
|
package cn.fw.morax.domain.vo.eval;
|
9161579f
姜超
feature(*): 排名返回名称
|
3
4
|
import cn.fw.morax.common.constant.Constant;
import cn.fw.morax.domain.enums.DataTypeEnum;
|
c4a10f17
姜超
feature(*): 保存排名名次修改
|
5
|
import cn.fw.morax.domain.enums.EvalScopeEnum;
|
9161579f
姜超
feature(*): 排名返回名称
|
6
7
|
import cn.fw.morax.domain.enums.TargetTypeEnum;
import lombok.Data;
|
c4a10f17
姜超
feature(*): 保存排名名次修改
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import java.math.BigDecimal;
import java.time.LocalDate;
/**
* 指标命中记录
*
* @author : kurisu
* @version : 2.0
* @className : KpiGroupIndicatorHitLog
* @description : 指标命中记录
* @date : 2022-12-13 10:27
*/
@Data
public class EvalGroupRewardHitLogVO {
/**
* id
*/
private Long id;
/**
|
9161579f
姜超
feature(*): 排名返回名称
|
28
29
30
31
|
* 名称
*/
private String name;
/**
|
c4a10f17
姜超
feature(*): 保存排名名次修改
|
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
* 员工id
*/
private Long poolId;
/**
* 考评范围; 1:门店考评 2:人员考评
*/
private EvalScopeEnum scopeType;
/**
* 奖惩项id
*/
private Long evalGroupRewardId;
/**
* 命中的奖惩配置项
*/
private Long evalGroupRewardLaddersId;
/**
* 奖惩值
*/
private BigDecimal rewardValue;
/**
* 命中的台阶指标值
*/
private BigDecimal hitLadderValue;
/**
* 命中的提成指标值
*/
private BigDecimal hitCommissionValue;
/**
* 占比
*/
private BigDecimal proportionValue;
/**
* 数据日期
*/
private LocalDate dataDate;
/**
* 集团id
*/
private Long groupId;
/**
* 逻辑删除
*/
private Boolean yn;
|
9161579f
姜超
feature(*): 排名返回名称
|
76
77
78
79
80
|
/**
* 转换为百分数展示
*/
|
0caae0d1
姜超
feature(*): 修改排名展示
|
81
|
public void convertValueToPercent(DataTypeEnum laddersType){
|
9161579f
姜超
feature(*): 排名返回名称
|
82
|
this.setProportionValue(this.getProportionValue().multiply(Constant.ONE_HUNDRED));
|
0caae0d1
姜超
feature(*): 修改排名展示
|
83
84
85
|
// if (DataTypeEnum.RATIO.equals(laddersType)) {
// this.setHitCommissionValue(this.getHitCommissionValue().multiply(Constant.ONE_HUNDRED));
// }
|
9161579f
姜超
feature(*): 排名返回名称
|
86
87
88
|
}
|
c4a10f17
姜超
feature(*): 保存排名名次修改
|
89
|
}
|