|
@@ -146,7 +146,7 @@ public class BillIsolatedServiceImpl extends ServiceImpl<BillIsolatedMapper, Bil
|
|
if (end.length() != 3){
|
|
if (end.length() != 3){
|
|
return new Result(10001,"耳标号格式错误",false);
|
|
return new Result(10001,"耳标号格式错误",false);
|
|
}
|
|
}
|
|
- String substring1 = eartags.substring(start.length() - end.length(), end.length()+1);
|
|
|
|
|
|
+ String substring1 = eartags.substring(start.length() - end.length(), start.length());
|
|
String substring = start.substring(0, start.length() - end.length());
|
|
String substring = start.substring(0, start.length() - end.length());
|
|
System.out.println(substring);
|
|
System.out.println(substring);
|
|
List<String> eartagNos = new ArrayList<>();
|
|
List<String> eartagNos = new ArrayList<>();
|
|
@@ -285,7 +285,7 @@ public class BillIsolatedServiceImpl extends ServiceImpl<BillIsolatedMapper, Bil
|
|
if (end.length() != 3){
|
|
if (end.length() != 3){
|
|
return new Result(10001,"耳标号格式错误",false);
|
|
return new Result(10001,"耳标号格式错误",false);
|
|
}
|
|
}
|
|
- String substring1 = s.substring(start.length() - end.length(), end.length()+1);
|
|
|
|
|
|
+ String substring1 = s.substring(start.length() - end.length(), start.length());
|
|
String substring = start.substring(0, start.length() - end.length());
|
|
String substring = start.substring(0, start.length() - end.length());
|
|
System.out.println(substring);
|
|
System.out.println(substring);
|
|
List<String> eartagNos = new ArrayList<>();
|
|
List<String> eartagNos = new ArrayList<>();
|
|
@@ -316,7 +316,7 @@ public class BillIsolatedServiceImpl extends ServiceImpl<BillIsolatedMapper, Bil
|
|
if (end.length() != 3){
|
|
if (end.length() != 3){
|
|
return new Result(10001,"耳标号格式错误",false);
|
|
return new Result(10001,"耳标号格式错误",false);
|
|
}
|
|
}
|
|
- String substring1 = deaths.substring(start.length() - end.length(), end.length()+1);
|
|
|
|
|
|
+ String substring1 = deaths.substring(start.length() - end.length(), start.length());
|
|
String substring = start.substring(0, start.length() - end.length());
|
|
String substring = start.substring(0, start.length() - end.length());
|
|
System.out.println(substring);
|
|
System.out.println(substring);
|
|
List<String> eartagNos = new ArrayList<>();
|
|
List<String> eartagNos = new ArrayList<>();
|