Commit a1b685a9 by lzxry

bugfix

parent ab639222
......@@ -362,7 +362,8 @@ public class ShareIncomeServiceImpl implements ShareIncomeService {
lastDay = contract.getIncomeExcludingTax() - adjustmentFund
- shareMultiply(dayShareIncome, new BigDecimal(getDayRange(creatPoints[1], contractValidPart[1])), 0);
} else {
lastDay = contract.getIncomeExcludingTax() - adjustmentFund
//CAS的合同都有“一次性确认收入”,单价是减去一次性确认收入后的,所以计算最后一天的分摊金需要再减去一次性确认收入的金额
lastDay = contract.getIncomeExcludingTax() - adjustmentFund - (contract.getOneTimeRecognizedRevenue().longValue() * 100)
- shareMultiply(dayShareIncome, new BigDecimal(getDayRange(contractValidPart[0], contractValidPart[1])), 0);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment