|
|
@@ -53,7 +53,7 @@ public class KwfTruckReportService {
|
|
|
KwfDriverService driverService;
|
|
|
@Autowired
|
|
|
KwfTruckService truckService;
|
|
|
- @DubboReference(version = "2.0.0", group = "design", check = false)
|
|
|
+ @DubboReference(version = "1.0.0", group = "design", check = false)
|
|
|
private RemoteSystemService remoteSystemService;
|
|
|
|
|
|
/**
|
|
|
@@ -503,8 +503,8 @@ public class KwfTruckReportService {
|
|
|
}
|
|
|
//字符截取-英文逗号/中文逗号
|
|
|
String[] strArray = str.split(Global.COMMA1);
|
|
|
- strArray = (strArray == null || strArray.length == 0) ? str.split(Global.COMMA) : strArray;
|
|
|
- if (strArray == null || strArray.length == 0 || strArray.length != 5 ) {
|
|
|
+ strArray = (strArray == null || strArray.length <= 1) ? str.split(Global.COMMA) : strArray;
|
|
|
+ if (strArray == null || strArray.length <= 1 || strArray.length != 5 ) {
|
|
|
return null;
|
|
|
}
|
|
|
|