From 4b483d9d06bead231b88ca212fd799196668a057 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 28 四月 2026 22:58:27 +0800
Subject: [PATCH] fix(任务服务): 修复出库任务选择逻辑和货位分配问题
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs
index 1fff57b..f20f864 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseModels/PageDataOptions.cs
@@ -1,10 +1,5 @@
锘縰sing SqlSugar;
-using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Reflection;
-using System.Text;
-using System.Threading.Tasks;
using WIDESEA_Core.Const;
using WIDESEA_Core.Enums;
using WIDESEA_Core.Helper;
@@ -19,19 +14,20 @@
public int Total { get; set; }
public string TableName { get; set; }
public string Sort { get; set; }
+
/// <summary>
/// 鎺掑簭鏂瑰紡
/// </summary>
public string Order { get; set; }
+
public string Wheres { get; set; }
public bool Export { get; set; }
public object Value { get; set; }
+
/// <summary>
/// 鏌ヨ鏉′欢
/// </summary>
public List<SearchParameters> Filter { get; set; }
-
-
public string ValidatePageOptions(PropertyInfo[] entityProperties)
{
@@ -117,7 +113,6 @@
return where;
}
-
public Dictionary<string, OrderByType> GetPageDataSort(PropertyInfo[] propertyInfo)
{
if (!string.IsNullOrEmpty(Sort))
@@ -143,11 +138,13 @@
return new Dictionary<string, OrderByType> { { "CreateDate", Order?.ToLower() == OrderByType.Asc.ToString() ? OrderByType.Asc : OrderByType.Desc } };
}
}
+
public class SearchParameters
{
public string Name { get; set; }
public string Value { get; set; }
+
//鏌ヨ绫诲瀷锛歀inqExpressionType
public string DisplayType { get; set; }
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3