@ -18,7 +18,7 @@ public abstract class BaseOrgModel<TKey> : BaseModel<TKey>, IOrgId
/// <summary>
/// 机构Id
/// </summary>
[SqlSugar.SugarColumn(ColumnDescription = "机构Id")]
[SqlSugar.SugarColumn(ColumnDescription = "机构Id", IsOnlyIgnoreUpdate = true)]
public long OrgId { get; set; } = 0;
}
@ -96,7 +96,7 @@ public class CodeFormSetService : IFormSetService
info = req.Adapt(info);
tenantDb.Updateable(info).IgnoreColumns("DefaultContent").IgnoreColumns(ignoreAllNullColumns: true).ExecuteCommand();
tenantDb.Updateable(info).IgnoreColumns("DefaultContent").ExecuteCommand();
return DataResult.Successed("更新成功!", MultiLanguageConst.DataUpdateSuccess);