Commit 174da970 by lzxry

一次性确认收入不除以100

parent 18fb79bf
......@@ -226,7 +226,7 @@ public class ShareIncomeServiceImpl implements ShareIncomeService {
oneTimeRecognizedRevenue = new BigDecimal("0");
dailyRevenueRecognition = bigDecimal.multiply(new BigDecimal("100"));
}else{
oneTimeRecognizedRevenue = bigDecimal.multiply(new BigDecimal("90"));
oneTimeRecognizedRevenue = bigDecimal.multiply(new BigDecimal("0.9"));
dailyRevenueRecognition = bigDecimal.multiply(new BigDecimal("10"));//0.1*100=10,前端拿到区间分摊收入/100得到最终的值
}
contract.setOneTimeRecognizedRevenue(oneTimeRecognizedRevenue.setScale(2, BigDecimal.ROUND_HALF_UP).doubleValue());
......
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