|
@@ -11,6 +11,8 @@ import com.ydtech.constants.enums.InsuranceRisk;
|
|
|
import com.ydtech.modules.ins.model.vo.CustomerInfoVo;
|
|
import com.ydtech.modules.ins.model.vo.CustomerInfoVo;
|
|
|
import com.ydtech.modules.ins.model.vo.KindInfoVo;
|
|
import com.ydtech.modules.ins.model.vo.KindInfoVo;
|
|
|
import com.ydtech.modules.ins.model.vo.RiskInfoVo;
|
|
import com.ydtech.modules.ins.model.vo.RiskInfoVo;
|
|
|
|
|
+import com.ydtech.modules.order.entity.api.guoren.constants.ClauseTypeSystem;
|
|
|
|
|
+import com.ydtech.modules.order.entity.api.guoren.constants.FuelType;
|
|
|
import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
|
|
import com.ydtech.modules.order.entity.vo.BaseQuoteInfoVo;
|
|
|
import com.ydtech.modules.order.entity.vo.guoren.GuoRenSpecialAgreementVo;
|
|
import com.ydtech.modules.order.entity.vo.guoren.GuoRenSpecialAgreementVo;
|
|
|
import com.ydtech.utils.DateTimeUtil;
|
|
import com.ydtech.utils.DateTimeUtil;
|
|
@@ -225,6 +227,12 @@ public class PremiumReq {
|
|
|
*/
|
|
*/
|
|
|
BiDTO.PrpTitemCarDTO biPrpTitemCar = new BiDTO.PrpTitemCarDTO();
|
|
BiDTO.PrpTitemCarDTO biPrpTitemCar = new BiDTO.PrpTitemCarDTO();
|
|
|
|
|
|
|
|
|
|
+ if(FuelType.getEnergy().contains(vinQ.getFuelType())){
|
|
|
|
|
+ biPrpTitemCar.setTermsSystem(ClauseTypeSystem.CTS_05.getCode());
|
|
|
|
|
+ }else {
|
|
|
|
|
+ biPrpTitemCar.setTermsSystem(ClauseTypeSystem.CTS_04.getCode());
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
biPrpTitemCar.setTermsSystem("04");
|
|
biPrpTitemCar.setTermsSystem("04");
|
|
|
biPrpTitemCar.setClauseType("F54");
|
|
biPrpTitemCar.setClauseType("F54");
|
|
|
biPrpTitemCar.setCarOwner(ownerInfo.getName());
|
|
biPrpTitemCar.setCarOwner(ownerInfo.getName());
|
|
@@ -235,6 +243,7 @@ public class PremiumReq {
|
|
|
biPrpTitemCar.setPrpTrenewal("");
|
|
biPrpTitemCar.setPrpTrenewal("");
|
|
|
biPrpTitemCar.setPrptengageList("");
|
|
biPrpTitemCar.setPrptengageList("");
|
|
|
biPrpTitemCar.setPrpTmainRate("");
|
|
biPrpTitemCar.setPrpTmainRate("");
|
|
|
|
|
+
|
|
|
biPrpTmain.setStartHour("0");
|
|
biPrpTmain.setStartHour("0");
|
|
|
biPrpTmain.setEndHour("24");
|
|
biPrpTmain.setEndHour("24");
|
|
|
biPrpTmain.setFeeandDiscountFlag("0");
|
|
biPrpTmain.setFeeandDiscountFlag("0");
|