按数量排序
This commit is contained in:
@@ -643,7 +643,7 @@ namespace WMS.Web.Domain.Services
|
||||
// response.Details = response.Details.OrderByDescending(s => s.Specifications);
|
||||
// .ThenByDescending(s => s.Method).ThenByDescending(s => s.Qty).ToList();
|
||||
// response.Details.ForEach(f => f.IndexNumber = response.Details.IndexOf(f) + 1);
|
||||
response.Details = response.Details.OrderByDescending(s => s.Method).OrderByDescending(y=>y.Specifications)
|
||||
response.Details = response.Details.OrderByDescending(s => s.Method).OrderByDescending(y=>y.Specifications).OrderByDescending(x=>x.Qty)
|
||||
.ThenByDescending(s => s.BoxBillNo).ThenBy(s => s.BoxLength).ToList();
|
||||
//alter by yzh 20250715 加了:.OrderByDescending(y=>y.Specifications)
|
||||
for (int i = 0; i < response.Details.Count(); i++)
|
||||
|
||||
@@ -1161,7 +1161,7 @@ namespace WMS.Web.Domain.Services.Public
|
||||
//1.审核状态:已审核
|
||||
//2.禁用状态:A否,B是
|
||||
//3.使用组织:只查询“深圳市元创时代科技有限公司”这个组织;组织ID=100008--固定值查询(测试端和正式是一样的)
|
||||
param.FilterString = "FDocumentStatus='C' and FForbidStatus='A' and (FUseOrgId=19162897 or FUseOrgId=100008)";
|
||||
param.FilterString = "FDocumentStatus='C' and FForbidStatus='A' and (FUseOrgId=19162897 or FUseOrgId=100008) ";
|
||||
//param.FilterString = "FDocumentStatus='C' and FForbidStatus='A' and FUseOrgId=100008";
|
||||
param.OrderString = "FCreateDate ASC";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user