This commit is contained in:
linfso 2024-05-20 10:36:42 +08:00
parent f1ae800997
commit 4d4035b73c

View File

@ -193,7 +193,8 @@ public class EmisBaseService {
String pdfInfo=waybill.getThirdCode();
pdfInfo=pdfInfo.replace("][","||");
String[] striparr = pdfInfo.split("||");
// String[] striparr = pdfInfo.split("||");
String[] striparr = pdfInfo.split("\\|\\|");
String packageWJC = striparr[1].replace("]", "");
String package3dm = striparr[0].replace("[", "");
@ -597,11 +598,19 @@ public class EmisBaseService {
// System.out.println(startDate);
// System.out.println(endDate);
Object m1=null;
String s1=(String)m1;
String pdfInfo="[南京市场部-越南胡志明][越HCM]";
pdfInfo=pdfInfo.replace("][","||");
String[] striparr = pdfInfo.split("\\|\\|");
System.out.println(striparr[1]);
System.out.println(striparr[0]);
String packageWJC = striparr[1].replace("]", "");
String package3dm = striparr[0].replace("[", "");
System.out.println(packageWJC);
System.out.println(package3dm);
System.out.println(s1);
}
}