feat(ebom): sap排序字符串优化

This commit is contained in:
曹鹏飞 2024-06-03 16:41:27 +08:00
parent e47968dbc3
commit d09db40c8c
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,9 @@ public class BomUtil {
orderNum = "0040";
} else {
orderNum = "0099";
if (StrUtil.isNotBlank(categoryCode) && categoryCode.length() > 6) {
categoryCode = categoryCode.substring(0, 6);
}
if (StrUtil.equals(categoryCode, "100101")) {
orderNum = "0010";
}