| | |
| | | sugarQueryable1 = sugarQueryable1.Where(x => x.Details.Any(d => d.MaterielCode.Contains(materielCode))); |
| | | |
| | | } |
| | | |
| | | //var dataList = sugarQueryable1.ToPageList(options.Page, options.Rows, ref totalCount); |
| | | //return new PageGridData<Dt_InboundOrder>(totalCount, dataList); |
| | | } |
| | |
| | | return content.OK(data: details); |
| | | } |
| | | |
| | | public WebResponseContent GetLocationType(string code) |
| | | { |
| | | var warehouseAreaName = _warehouseAreaRepository.QueryFirst(x => x.Code == code); |
| | | if(string.IsNullOrWhiteSpace(warehouseAreaName.ToString())) |
| | | { |
| | | return WebResponseContent.Instance.Error("æªæ¾å°ä»åºåç§°"); |
| | | } |
| | | var locationTypeDesc = _locationTypeRepository.Db.Queryable<Dt_LocationType>().Where(x => string.Equals(x.LocationTypeDesc, warehouseAreaName.Name, StringComparison.OrdinalIgnoreCase)).First(); |
| | | |
| | | return WebResponseContent.Instance.OK(data:locationTypeDesc.LocationType); |
| | | } |
| | | |
| | | public WebResponseContent HandCloseOrder(List<string> orderNos) |
| | | { |
| | | try |