| | |
| | | { |
| | | db.BeginTran(); |
| | | var lcrList = db.Queryable<LocCntrRel>().Where(a => a.S_LOC_CODE.Trim() == loc).ToList(); |
| | | if (!string.IsNullOrEmpty(location.S_NOTE.Trim()) && (location.S_NOTE.Trim() == "叠盘" || location.S_NOTE.Trim() == "片胶堆叠位")) |
| | | //if (!string.IsNullOrEmpty(location.S_NOTE) && lcrList.Count > 0) |
| | | //{ |
| | | // if (location.S_NOTE == "叠盘" || location.S_NOTE.Trim() == "片胶堆叠位") |
| | | // { |
| | | // LogHelper.Info("叠盘货位删除托盘"); |
| | | // cntrs = lcrList.Select(a => a.S_CNTR_CODE).ToList(); |
| | | |
| | | // } |
| | | //} |
| | | if (lcrList.Count > 0) |
| | | { |
| | | cntrs = lcrList.Select(a => a.S_CNTR_CODE).ToList(); |
| | | } |