|
@@ -156,21 +156,12 @@ public class ImportAsyncServiceImpl extends ServiceImpl<ImportAsyncMapper, Impor
|
|
|
}
|
|
}
|
|
|
} else {
|
|
} else {
|
|
|
reason = "查询不到该车辆";
|
|
reason = "查询不到该车辆";
|
|
|
- if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
|
|
|
- insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
|
|
|
- }
|
|
|
|
|
- if (StringUtils.isNotEmpty(excelItem.getPolicyno())) {
|
|
|
|
|
- insImportResult.setPolicyno(excelItem.getPolicyno());
|
|
|
|
|
- }
|
|
|
|
|
- if (StringUtils.isNotEmpty(excelItem.getSyPolicyno())) {
|
|
|
|
|
- insImportResult.setSyPolicyno(excelItem.getSyPolicyno());
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
if(StringUtils.isNotEmpty(reason)){
|
|
if(StringUtils.isNotEmpty(reason)){
|
|
|
|
|
+ insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
|
|
|
+ insImportResult.setPolicyno(excelItem.getPolicyno());
|
|
|
|
|
+ insImportResult.setSyPolicyno(excelItem.getSyPolicyno());
|
|
|
insImportResult.setReason(reason);
|
|
insImportResult.setReason(reason);
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(insImportResult.getLicenseno())){
|
|
|
|
|
insImportResultsExcel.add(insImportResult);
|
|
insImportResultsExcel.add(insImportResult);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -306,6 +297,9 @@ public class ImportAsyncServiceImpl extends ServiceImpl<ImportAsyncMapper, Impor
|
|
|
} else {
|
|
} else {
|
|
|
|
|
|
|
|
reason = "查询不到该车辆";
|
|
reason = "查询不到该车辆";
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
|
|
+ if(StringUtils.isNotEmpty(reason)){
|
|
|
if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
|
insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
|
}
|
|
}
|
|
@@ -315,12 +309,7 @@ public class ImportAsyncServiceImpl extends ServiceImpl<ImportAsyncMapper, Impor
|
|
|
if (StringUtils.isNotEmpty(excelItem.getSyPolicyno())) {
|
|
if (StringUtils.isNotEmpty(excelItem.getSyPolicyno())) {
|
|
|
insImportResult.setSyPolicyno(excelItem.getSyPolicyno());
|
|
insImportResult.setSyPolicyno(excelItem.getSyPolicyno());
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(reason)){
|
|
|
|
|
insImportResult.setReason(reason);
|
|
insImportResult.setReason(reason);
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(insImportResult.getLicenseno()) ){
|
|
|
|
|
insImportResultsExcel.add(insImportResult);
|
|
insImportResultsExcel.add(insImportResult);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -415,19 +404,15 @@ public class ImportAsyncServiceImpl extends ServiceImpl<ImportAsyncMapper, Impor
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
reason = "查询不到该车辆";
|
|
reason = "查询不到该车辆";
|
|
|
-
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ if(StringUtils.isNotEmpty(reason)){
|
|
|
|
|
+ insImportResult.setReason(reason);
|
|
|
if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
|
insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
|
}
|
|
}
|
|
|
if (StringUtils.isNotEmpty(excelItem.getNoPolicyno())) {
|
|
if (StringUtils.isNotEmpty(excelItem.getNoPolicyno())) {
|
|
|
insImportResult.setPolicyno(excelItem.getNoPolicyno());
|
|
insImportResult.setPolicyno(excelItem.getNoPolicyno());
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(reason)){
|
|
|
|
|
- insImportResult.setReason(reason);
|
|
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(insImportResult.getLicenseno())){
|
|
|
|
|
insImportResultsExcel.add(insImportResult);
|
|
insImportResultsExcel.add(insImportResult);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -521,22 +506,18 @@ public class ImportAsyncServiceImpl extends ServiceImpl<ImportAsyncMapper, Impor
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|
|
|
-
|
|
|
|
|
reason = "查询不到该车辆";
|
|
reason = "查询不到该车辆";
|
|
|
-
|
|
|
|
|
|
|
+ }
|
|
|
|
|
+ if(StringUtils.isNotEmpty(reason)){
|
|
|
|
|
+ insImportResult.setReason(reason);
|
|
|
if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
if (StringUtils.isNotEmpty(excelItem.getLicenseno())) {
|
|
|
insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
insImportResult.setLicenseno(excelItem.getLicenseno());
|
|
|
}
|
|
}
|
|
|
if (StringUtils.isNotEmpty(excelItem.getNoPolicyno())) {
|
|
if (StringUtils.isNotEmpty(excelItem.getNoPolicyno())) {
|
|
|
insImportResult.setPolicyno(excelItem.getNoPolicyno());
|
|
insImportResult.setPolicyno(excelItem.getNoPolicyno());
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(reason)){
|
|
|
|
|
- insImportResult.setReason(reason);
|
|
|
|
|
- }
|
|
|
|
|
- if(StringUtils.isNotEmpty(insImportResult.getLicenseno())){
|
|
|
|
|
insImportResultsExcel.add(insImportResult);
|
|
insImportResultsExcel.add(insImportResult);
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|