管理员政策去除rewardAmount
This commit is contained in:
parent
f096da9e8d
commit
1e6bb6d0bf
@ -254,10 +254,10 @@ public class AdminSalarySettlementServiceImpl implements AdminSalarySettlementSe
|
|||||||
|
|
||||||
for (AdminSalaryPolicy policy : policies) {
|
for (AdminSalaryPolicy policy : policies) {
|
||||||
if (teamSalary.compareTo(policy.getRequiredTeamSalary()) >= 0) {
|
if (teamSalary.compareTo(policy.getRequiredTeamSalary()) >= 0) {
|
||||||
// 工资 = Basic Salary + Reward Amount
|
// 工资 = Basic Salary
|
||||||
BigDecimal salary = policy.getBasicSalary();
|
BigDecimal salary = policy.getBasicSalary();
|
||||||
if (policy.getRewardAmount() != null) {
|
if (policy.getRewardAmount() != null) {
|
||||||
salary = salary.add(policy.getRewardAmount());
|
// salary = salary.add(policy.getRewardAmount());
|
||||||
}
|
}
|
||||||
record.setBdLeaderSalary(salary.setScale(2, RoundingMode.DOWN));
|
record.setBdLeaderSalary(salary.setScale(2, RoundingMode.DOWN));
|
||||||
record.setBdLeaderHitLevel(policy.getLevel());
|
record.setBdLeaderHitLevel(policy.getLevel());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user