This commit is contained in:
2022-12-30 10:16:51 +08:00
8 changed files with 102 additions and 58 deletions

View File

@@ -2873,7 +2873,11 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
String box_no = json.getString("box_no");
String sub_box_no = "";
if (ObjectUtil.isNotEmpty(box_no)) {
sub_box_no = box_no.substring(box_no.lastIndexOf("@")+1, box_no.length());
try {
sub_box_no = box_no.substring(box_no.lastIndexOf("@")+1, box_no.length());
} catch (Exception e) {
sub_box_no = box_no;
}
}
HashMap<String, Object> mapFL = new HashMap<>();
@@ -2920,7 +2924,11 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
String box_no = json.getString("box_no");
String sub_box_no = "";
if (ObjectUtil.isNotEmpty(box_no)) {
sub_box_no = box_no.substring(box_no.lastIndexOf("@")+1, box_no.length());
try {
sub_box_no = box_no.substring(box_no.lastIndexOf("@")+1, box_no.length());
} catch (Exception e) {
sub_box_no = box_no;
}
}
HashMap<String, Object> mapFL = new HashMap<>();