|
|
@@ -1058,8 +1058,10 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
packageVo.setPackageName(equity.getEquityName());
|
|
|
packageVo.setLdProportion(ptlAgreementProductCostsNew.getLdProportion());
|
|
|
packageVo.setTotalAmount(totalAmount);
|
|
|
- packageVo.setKhAmount(totalAmount.subtract(totalAmount.multiply(new BigDecimal(ptlAgreementProductCostsNew.getLdProportion()).multiply(new BigDecimal(100)))));
|
|
|
- packageVo.setDlrAmount(totalAmount.multiply(new BigDecimal(ptlAgreementProductCostsNew.getLdProportion()).multiply(new BigDecimal(100))));
|
|
|
+ packageVo.setKhAmount(totalAmount.subtract(
|
|
|
+ totalAmount.multiply(new BigDecimal(ptlAgreementProductCostsNew.getLdProportion())
|
|
|
+ .divide(new BigDecimal(100)))));
|
|
|
+ packageVo.setDlrAmount(totalAmount.multiply(new BigDecimal(ptlAgreementProductCostsNew.getLdProportion()).divide(new BigDecimal(100))));
|
|
|
|
|
|
String equityInfo = equity.getEquityInfo();
|
|
|
LocalEquityPackagePage packagevo = JSON.parseObject(equityInfo, LocalEquityPackagePage.class);
|