From b0b5deb5825684bca5b3fa7c2ab59f60ce0e799f Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 07 四月 2026 16:36:57 +0800
Subject: [PATCH] fix: 修复移库任务号重复问题,优化策略优先处理正常任务,避免任务堵塞
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs"
index 7fa3926..f4418ab 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_StockService/StockInfoService.cs"
@@ -95,5 +95,11 @@
return WebResponseContent.Instance.Error(ex.Message);
}
}
+
+ public bool IsContainerNoExist(string containerNo)
+ {
+ // 鐩存帴鍒ゆ柇鏄惁瀛樺湪婊¤冻鏉′欢鐨勮褰�
+ return BaseDal.QueryData(x => x.PalletCode == containerNo).Any();
+ }
}
}
--
Gitblit v1.9.3