|
|
@@ -226,7 +226,7 @@ public class YongAnOrderServiceImpl implements YongAnOrderService {
|
|
|
for (int i = 0; i < riskList.size(); i++) {
|
|
|
//商业险
|
|
|
if (riskList.get(i).getRiskCode().equals("0510")) {
|
|
|
- if (carDTO.getLicenseNo().length() == 8) {//新能源车
|
|
|
+ if ("1,2,3,".contains(carModelDTO.getFuelType())) {//新能源车
|
|
|
requestBodyC2.setSyRiskCode("039011");
|
|
|
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
SimpleDateFormat df_req = new SimpleDateFormat("yyyy-MM-dd HH:mm");
|