Commit 01be849e by lzxry

无限流量单价bugfix

parent a61b3604
...@@ -743,6 +743,10 @@ public class ShareIncomeServiceImpl implements ShareIncomeService { ...@@ -743,6 +743,10 @@ 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无限流量的日单价
contract.setUnitPrice(dayShareIncome.setScale(2,BigDecimal.ROUND_HALF_UP).doubleValue());
}
//作废合同处理 //作废合同处理
Contract cancleContract = this.cancledShare(contract, contractAllDay, dayShareIncome, contractPart, usePart, selected); Contract cancleContract = this.cancledShare(contract, contractAllDay, dayShareIncome, contractPart, usePart, selected);
if (cancleContract != null) { if (cancleContract != null) {
......
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