|
@@ -38,6 +38,7 @@ import com.ydtech.modules.protocols.entity.po.InsFeeOrderNew;
|
|
|
import com.ydtech.modules.protocols.entity.po.PtlAgreementProductCostsNew;
|
|
import com.ydtech.modules.protocols.entity.po.PtlAgreementProductCostsNew;
|
|
|
import com.ydtech.modules.protocols.entity.vo.AgreementProductQueryVo;
|
|
import com.ydtech.modules.protocols.entity.vo.AgreementProductQueryVo;
|
|
|
import com.ydtech.modules.protocols.service.PtlAgreementProductCostsNewService;
|
|
import com.ydtech.modules.protocols.service.PtlAgreementProductCostsNewService;
|
|
|
|
|
+import com.ydtech.utils.BigDecimalUtils;
|
|
|
import com.ydtech.utils.idgen.IdGenerate;
|
|
import com.ydtech.utils.idgen.IdGenerate;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
import org.springframework.beans.BeanUtils;
|
|
@@ -850,11 +851,10 @@ public class InsAreaCompanyServiceImpl extends ServiceImpl<InsAreaCompanyMapper,
|
|
|
if (costsNews.isEmpty()) {
|
|
if (costsNews.isEmpty()) {
|
|
|
throw new SystemException("没有找到费用信息");
|
|
throw new SystemException("没有找到费用信息");
|
|
|
}
|
|
}
|
|
|
- BigDecimal jqSuperviseCostsProportion, sySuperviseCostsProportion, noSuperviseCostsProportion = new BigDecimal(0);
|
|
|
|
|
- jqSuperviseCostsProportion = (new BigDecimal(costsNews.get(0).getJqCarCostsProportion()));
|
|
|
|
|
- sySuperviseCostsProportion = (new BigDecimal(costsNews.get(0).getSyCarCostsProportion()));
|
|
|
|
|
- noSuperviseCostsProportion = (new BigDecimal(costsNews.get(0).getNoCarCostsProportion()));
|
|
|
|
|
-
|
|
|
|
|
|
|
+ BigDecimal jqSuperviseCostsProportion, sySuperviseCostsProportion, noSuperviseCostsProportion;
|
|
|
|
|
+ jqSuperviseCostsProportion = BigDecimalUtils.transferToBigDecmail(costsNews.get(0).getJqCarCostsProportion());
|
|
|
|
|
+ sySuperviseCostsProportion =BigDecimalUtils.transferToBigDecmail(costsNews.get(0).getSyCarCostsProportion());
|
|
|
|
|
+ noSuperviseCostsProportion = BigDecimalUtils.transferToBigDecmail(costsNews.get(0).getNoCarCostsProportion());
|
|
|
|
|
|
|
|
InsAreaCompanyExternalFee insAreaCompanyExternalFee = new InsAreaCompanyExternalFee();
|
|
InsAreaCompanyExternalFee insAreaCompanyExternalFee = new InsAreaCompanyExternalFee();
|
|
|
insAreaCompanyExternalFee.setSubOrderNo(subOrderNo);
|
|
insAreaCompanyExternalFee.setSubOrderNo(subOrderNo);
|