自动化立体仓库 - WMS系统
1
zhangc
2025-04-09 469d8ceb95ed82f09fd4c1bddbbe672689bc8d82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.zy.asrs.utils;
 
import com.core.common.Cools;
import com.zy.asrs.constant.AsrsConstants;
 
public class OrderUtils {
 
    /**
     * 判断时哪个厂的订单
     * 订单编号里有B是二厂,G是三厂
     */
    public static String getFactory(String threeCode) {
        if (Cools.isEmpty(threeCode)) {
            return null;
        }
        if (threeCode.contains(AsrsConstants.ERCHANG)) {
            return AsrsConstants.ERCHANG;
        } else {
            return AsrsConstants.SANCHANG;
        }
    }
}