private static string GetShopStep(string shopID) { if (BopHelper.IsArrayShop(shopID)) { return(ARRAY_STEP); } if (BopHelper.IsCfShop(shopID)) { return(CF_STEP); } if (BopHelper.IsCellShop(shopID)) { return(CELL_STEP); } return(Constants.NULL_ID); }
internal static string GetCfCode(string cellCode) { var list = GetCellBomByCellCode(cellCode, CellActionType.Ship); if (list == null || list.Count == 0) { return(null); } foreach (var item in list) { if (BopHelper.IsCfShop(item.FromShopID)) { return(item.FromProductID); } } return(null); }