diff --git a/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs b/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs index 0ee87912..87882597 100644 --- a/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs +++ b/ds-wms-service/DS.WMS.Core/Code/Method/CodeFormSetService.cs @@ -154,7 +154,7 @@ public class CodeFormSetService : IFormSetService var tenantDb = saasService.GetBizDbScopeById(user.TenantId); var info = tenantDb.Queryable().Where(x => x.Id == req.Id).First(); - if (info.IsNotNull()) + if (info.IsNull()) { return DataResult.Failed("表单设置不存在!", MultiLanguageConst.FormSetNotExist); }