From 85458565e09bda1044d19b13d0b1ffb7ab576857 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期五, 22 十一月 2024 16:47:40 +0800
Subject: [PATCH] 货位分配

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs"
index e974d51..ed69c09 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/RepositoryBase.cs"
@@ -864,7 +864,7 @@
              .WhereIF(whereExpression != null, whereExpression).ToListAsync();
         }
 
-        public bool DeleteAndMoveIntoHty(TEntity entity, OperateType operateType)
+        public bool DeleteAndMoveIntoHty(TEntity entity, OperateTypeEnum operateType)
         {
             Type type = entity.GetType();
             Assembly assembly = type.Assembly;
@@ -873,7 +873,7 @@
             {
                 object? obj = Activator.CreateInstance(htyType);
                 PropertyInfo keyPro = typeof(TEntity).GetKeyProperty();
-                PropertyInfo? operateTypePro = htyType.GetProperty(nameof(OperateType));
+                PropertyInfo? operateTypePro = htyType.GetProperty(nameof(OperateTypeEnum));
                 PropertyInfo? sourceIdPro = htyType.GetProperty("SourceId");
                 if (obj != null && keyPro != null && operateTypePro != null && sourceIdPro != null)
                 {
@@ -909,7 +909,7 @@
             return DeleteData(entity);
         }
 
-        public bool DeleteAndMoveIntoHty(List<TEntity> entities, OperateType operateType)
+        public bool DeleteAndMoveIntoHty(List<TEntity> entities, OperateTypeEnum operateType)
         {
             Type type = typeof(TEntity);
             Assembly assembly = type.Assembly;
@@ -918,7 +918,7 @@
             {
                 object? obj2 = Activator.CreateInstance(htyType);
                 PropertyInfo keyPro = typeof(TEntity).GetKeyProperty();
-                PropertyInfo? operateTypePro = htyType.GetProperty(nameof(OperateType));
+                PropertyInfo? operateTypePro = htyType.GetProperty(nameof(OperateTypeEnum));
                 PropertyInfo? sourceIdPro = htyType.GetProperty("SourceId");
                 if (obj2 != null && keyPro != null && operateTypePro != null && sourceIdPro != null)
                 {

--
Gitblit v1.9.3