From 75727b3ad0e45c5ed4cf1857bfa1879f533f9381 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 18 Nov 2024 09:51:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9EDI=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ds-wms-service/DS.WMS.Core/Code/Method/CodeEdiSetService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ds-wms-service/DS.WMS.Core/Code/Method/CodeEdiSetService.cs b/ds-wms-service/DS.WMS.Core/Code/Method/CodeEdiSetService.cs index cfdaf1f6..af254d76 100644 --- a/ds-wms-service/DS.WMS.Core/Code/Method/CodeEdiSetService.cs +++ b/ds-wms-service/DS.WMS.Core/Code/Method/CodeEdiSetService.cs @@ -65,7 +65,7 @@ public class CodeEdiSetService : IEdiSetService if (req.Id == 0) { if (tenantDb.Queryable() - .Where(x => x.EdiTypeCode == req.EdiTypeCode && x.SendType == req.SendType).Any()) + .Where(x => x.EdiTypeCode == req.EdiTypeCode && x.SendType == req.SendType && x.CarrierId == req.CarrierId).Any()) { return DataResult.Failed("Edi设置已存在!", MultiLanguageConst.EdiSetExist); }