|
|
@@ -181,10 +181,10 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
insPlyIncome.setNoPremium(insFeeOrderNew.getNoPremium());
|
|
|
insPlyIncome.setIsNotCar("1");
|
|
|
insPlyIncome.setIsNotDocumentary("1");
|
|
|
- insPlyIncome.setJqStartDate(insAreaCompany.getJqStartDate());
|
|
|
- insPlyIncome.setJqEndDate(insAreaCompany.getJqEndDate());
|
|
|
- insPlyIncome.setSyStartDate(insAreaCompany.getSyStartDate());
|
|
|
- insPlyIncome.setSyEndDate(insAreaCompany.getSyEndDate());
|
|
|
+ insPlyIncome.setJqStartDate(StringOperations.emptyStringToNull(insAreaCompany.getJqStartDate()));
|
|
|
+ insPlyIncome.setJqEndDate(StringOperations.emptyStringToNull(insAreaCompany.getJqEndDate()));
|
|
|
+ insPlyIncome.setSyStartDate(StringOperations.emptyStringToNull(insAreaCompany.getSyStartDate()));
|
|
|
+ insPlyIncome.setSyEndDate(StringOperations.emptyStringToNull(insAreaCompany.getSyEndDate()));
|
|
|
insPlyIncome.setAllFeeValue(insFeeOrderNew.getNoOtherCostsPremiums());
|
|
|
insPlyIncome.setNoOtherCostsPremium(insFeeOrderNew.getNoOtherCostsPremiums());
|
|
|
insPlyIncome.setNoOtherCostsProportion(insFeeOrderNew.getNoOtherCostsProportion());
|
|
|
@@ -221,10 +221,10 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
insPlyIncome.setInsuredName(order.getInsuredname());
|
|
|
insPlyIncome.setNoPremium(insFeeOrderNew.getNoPremium()); //非车保费
|
|
|
insPlyIncome.setNoNoTaxPremium(insFeeOrderNew.getNoNoTaxPremium()); //非车不含税保费
|
|
|
- insPlyIncome.setJqStartDate(insAreaCompany.getJqStartDate());
|
|
|
- insPlyIncome.setJqEndDate(insAreaCompany.getJqEndDate());
|
|
|
- insPlyIncome.setSyStartDate(insAreaCompany.getSyStartDate());
|
|
|
- insPlyIncome.setSyEndDate(insAreaCompany.getSyEndDate());
|
|
|
+ insPlyIncome.setJqStartDate(StringOperations.emptyStringToNull(insAreaCompany.getJqStartDate()));
|
|
|
+ insPlyIncome.setJqEndDate(StringOperations.emptyStringToNull(insAreaCompany.getJqEndDate()));
|
|
|
+ insPlyIncome.setSyStartDate(StringOperations.emptyStringToNull(insAreaCompany.getSyStartDate()));
|
|
|
+ insPlyIncome.setSyEndDate(StringOperations.emptyStringToNull(insAreaCompany.getSyEndDate()));
|
|
|
insPlyIncome.setNoSuperviseCostsPremiums(insFeeOrderNew.getNoSuperviseCostsPremiums());
|
|
|
insPlyIncome.setNoSuperviseCostsProportion(insFeeOrderNew.getNoSuperviseCostsProportion());
|
|
|
this.getDeptId(insPlyIncome);
|
|
|
@@ -279,10 +279,10 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
insPlyIncome.setSyOtherCostsProportion(insFeeOrderNew.getSyOtherCostsProportion()); //商业跟单费比例
|
|
|
insPlyIncome.setSyOtherCostsPremium(insFeeOrderNew.getSyOtherCostsPremiums());
|
|
|
insPlyIncome.setJqOtherCostsPremium(insFeeOrderNew.getJqOtherCostsPremiums());
|
|
|
- insPlyIncome.setJqStartDate(insAreaCompany.getJqStartDate());
|
|
|
- insPlyIncome.setJqEndDate(insAreaCompany.getJqEndDate());
|
|
|
- insPlyIncome.setSyStartDate(insAreaCompany.getSyStartDate());
|
|
|
- insPlyIncome.setSyEndDate(insAreaCompany.getSyEndDate());
|
|
|
+ insPlyIncome.setJqStartDate(StringOperations.emptyStringToNull(insAreaCompany.getJqStartDate()));
|
|
|
+ insPlyIncome.setJqEndDate(StringOperations.emptyStringToNull(insAreaCompany.getJqEndDate()));
|
|
|
+ insPlyIncome.setSyStartDate(StringOperations.emptyStringToNull(insAreaCompany.getSyStartDate()));
|
|
|
+ insPlyIncome.setSyEndDate(StringOperations.emptyStringToNull(insAreaCompany.getSyEndDate()));
|
|
|
insPlyIncome.setUserId(insFeeOrderNew.getUserId());
|
|
|
insPlyIncome.setInsuredName(order.getInsuredname());
|
|
|
this.getDeptId(insPlyIncome);
|
|
|
@@ -318,10 +318,10 @@ public class InsPlyIncomeServiceImpl extends ServiceImpl<InsPlyIncomeMapper, Ins
|
|
|
insPlyIncome.setTaxPremium(allTaxPremium);
|
|
|
insPlyIncome.setUserId(insFeeOrderNew.getUserId());
|
|
|
insPlyIncome.setInsuredName(order.getInsuredname());
|
|
|
- insPlyIncome.setJqStartDate(insAreaCompany.getJqStartDate());
|
|
|
- insPlyIncome.setJqEndDate(insAreaCompany.getJqEndDate());
|
|
|
- insPlyIncome.setSyStartDate(insAreaCompany.getSyStartDate());
|
|
|
- insPlyIncome.setSyEndDate(insAreaCompany.getSyEndDate());
|
|
|
+ insPlyIncome.setJqStartDate(StringOperations.emptyStringToNull(insAreaCompany.getJqStartDate()));
|
|
|
+ insPlyIncome.setJqEndDate(StringOperations.emptyStringToNull(insAreaCompany.getJqEndDate()));
|
|
|
+ insPlyIncome.setSyStartDate(StringOperations.emptyStringToNull(insAreaCompany.getSyStartDate()));
|
|
|
+ insPlyIncome.setSyEndDate(StringOperations.emptyStringToNull(insAreaCompany.getSyEndDate()));
|
|
|
this.saveByCompanyId(insFeeOrderNew, insAreaCompany.getCompanyId(), insPlyIncome);
|
|
|
this.getDeptId(insPlyIncome);
|
|
|
baseMapper.insert(insPlyIncome);
|