修改EDI参数设置

dev
jianghaiqing 1 week ago
parent 96f601dbb0
commit 75727b3ad0

@ -65,7 +65,7 @@ public class CodeEdiSetService : IEdiSetService
if (req.Id == 0) if (req.Id == 0)
{ {
if (tenantDb.Queryable<CodeEdiSet>() if (tenantDb.Queryable<CodeEdiSet>()
.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); return DataResult.Failed("Edi设置已存在!", MultiLanguageConst.EdiSetExist);
} }

Loading…
Cancel
Save