This commit is contained in:
Guoqs
2026-03-12 15:36:51 +08:00
parent 6cc444a4d5
commit 83c80172c6

View File

@@ -898,7 +898,9 @@ public class JsowellTask {
return null;
}
int index = orderNo.indexOf("_");
return index > 0 ? orderNo.substring(0, index) : orderNo;
String orderCode = index > 0 ? orderNo.substring(0, index) : orderNo;
// order_code 字段长度限制为 16超长则无法匹配订单返回 null
return orderCode.length() <= 16 ? orderCode : null;
}
private String normalizeHeader(String header) {