update 打印日志

This commit is contained in:
Guoqs
2026-03-12 16:13:15 +08:00
parent 83c80172c6
commit 8e92bc976e

View File

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