|
|
@ -154,7 +154,7 @@ public class CodeFormSetService : IFormSetService
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
var tenantDb = saasService.GetBizDbScopeById(user.TenantId);
|
|
|
|
var info = tenantDb.Queryable<CodeFormSet>().Where(x => x.Id == req.Id).First();
|
|
|
|
var info = tenantDb.Queryable<CodeFormSet>().Where(x => x.Id == req.Id).First();
|
|
|
|
|
|
|
|
|
|
|
|
if (info.IsNotNull())
|
|
|
|
if (info.IsNull())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return DataResult.Failed("表单设置不存在!", MultiLanguageConst.FormSetNotExist);
|
|
|
|
return DataResult.Failed("表单设置不存在!", MultiLanguageConst.FormSetNotExist);
|
|
|
|
}
|
|
|
|
}
|
|
|
|