Commit 84d191da by lzxry

+1

parent 01be849e
...@@ -742,9 +742,9 @@ public class ShareIncomeServiceImpl implements ShareIncomeService { ...@@ -742,9 +742,9 @@ public class ShareIncomeServiceImpl implements ShareIncomeService {
//处理精度 //处理精度
BigDecimal dayShareIncome = new BigDecimal(excludTax * 1.0 / contractAllDay); BigDecimal dayShareIncome = new BigDecimal(excludTax * 1.0 / contractAllDay);
if("tkio".equals(contract.getPlatform())){//设置tkio无限流量的日单价 if("tkio".equals(contract.getPlatform())){//设置tkio无限流量的日单价
contract.setUnitPrice(dayShareIncome.setScale(2,BigDecimal.ROUND_HALF_UP).doubleValue()); contract.setUnitPrice(dayShareIncome.divide(new BigDecimal(100)).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