wangxinhui
3 天以前 a0a0df2e824b6fe7e5a3c0afce78127fecf84fc9
项目代码/WMS/WMSServices/WIDESEA_StockService/ProStockViewService.cs
@@ -73,7 +73,7 @@
                EntityProperties.ValidatePageOptions(options, ref sugarQueryable);
                ISugarQueryable<ProStockViewDTO> list = sugarQueryable1.InnerJoin(sugarQueryable, (b, a) => a.LocationCode == b.LocationCode).Select((b, a)
                ISugarQueryable<ProStockViewDTO> list = sugarQueryable1.InnerJoin(sugarQueryable, (b, a) => a.LocationCode == b.LocationCode).OrderByDescending(b=>b.CreateDate).Select((b, a)
                    => new ProStockViewDTO
                    {
                        ProStockAttribute=b.ProStockAttribute,
@@ -110,7 +110,7 @@
                        x.ProductUnit = x.Details.FirstOrDefault()?.ProductUnit ?? "";
                    }
                );
                return new PageGridData<ProStockViewDTO>(totalCount + pktotalCount, stockViewDTOs.OrderByDescending(x=>x.CreateDate).ToList());
                return new PageGridData<ProStockViewDTO>(totalCount + pktotalCount, stockViewDTOs.ToList());
            }
            catch (Exception ex)
            {