| | |
| | | .ToExpression();//注意 这一句 不能少 |
| | | |
| | | |
| | | var data = AreaRst.GetAllByOrderPageAsync(item, limit, page, out int counts) |
| | | var data = AreaRst.GetAllByOrderPage(item, limit, page, out int counts) |
| | | .Includes(x => x.WareHouseInfo) |
| | | .Includes(x => x.TemperatureInfo) |
| | | .Includes(x => x.CreateUserInfo) |
| | |
| | | { |
| | | try |
| | | { |
| | | var data = AreaRst.GetAllAsync().ToList(); |
| | | var data = AreaRst.GetAll().ToList(); |
| | | if (!string.IsNullOrWhiteSpace(wareHouseNo)) |
| | | { |
| | | data = data.Where(m => m.WareHouseNo == wareHouseNo).ToList(); |
| | |
| | | try |
| | | { |
| | | //判断除当前id信息以外是否含有编号和名称 |
| | | var bol = AreaRst.GetAllAsync() |
| | | var bol = AreaRst.GetAll() |
| | | .Any(m => m.Id != id && m.AreaName == name.Trim()); |
| | | if (bol) |
| | | { |