1
This commit is contained in:
@@ -213,5 +213,22 @@ public class TencentDocDataParser {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 表头是否为「京东下单订单号」列(与第三方「单号」等列区分)
|
||||
*/
|
||||
public static boolean isJdPlaceOrderNoHeader(String cellValueTrim) {
|
||||
if (cellValueTrim == null) {
|
||||
return false;
|
||||
}
|
||||
String t = cellValueTrim.trim();
|
||||
if (t.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
if (t.contains("京东下单订单号")) {
|
||||
return true;
|
||||
}
|
||||
return t.contains("京东") && t.contains("下单") && t.contains("订单号");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user