mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update 打印日志
This commit is contained in:
@@ -900,6 +900,9 @@ public class JsowellTask {
|
|||||||
int index = orderNo.indexOf("_");
|
int index = orderNo.indexOf("_");
|
||||||
String orderCode = index > 0 ? orderNo.substring(0, index) : orderNo;
|
String orderCode = index > 0 ? orderNo.substring(0, index) : orderNo;
|
||||||
// order_code 字段长度限制为 16,超长则无法匹配订单,返回 null
|
// order_code 字段长度限制为 16,超长则无法匹配订单,返回 null
|
||||||
|
if (orderCode.length() >= 16) {
|
||||||
|
log.warn("order_code 字段长度超出限制,order_no:{}", orderNo);
|
||||||
|
}
|
||||||
return orderCode.length() <= 16 ? orderCode : null;
|
return orderCode.length() <= 16 ? orderCode : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user