| | |
| | | |
| | | |
| | | //判断当前托盘是否存在绑定信息 |
| | | if (bind.LocatNo != null) |
| | | if (!string.IsNullOrWhiteSpace(bind.LocatNo)) |
| | | { |
| | | //分割已绑储位与新储位 |
| | | //已绑储位 |
| | |
| | | else if (storageLocat.Status == "2") |
| | | { |
| | | //托盘绑定信息 |
| | | List<BllPalletBind> palletBindList = Db.Queryable<BllPalletBind>().Where(w => w.LocatNo == locatNo && w.IsDel == "0").ToList(); |
| | | List<BllPalletBind> palletBindList = Db.Queryable<BllPalletBind>() |
| | | .Where(w => w.LocatNo == locatNo && w.IsDel == "0" && w.Status == "1").ToList(); |
| | | if (palletBindList == null || palletBindList.Count <= 0) |
| | | { |
| | | throw new Exception("未找到对应的托盘绑定信息"); |