@ -65,7 +65,7 @@ public class CodeEdiSetService : IEdiSetService
if (req.Id == 0)
{
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);
}