/// <summary> /// 更新实体数据 /// </summary> /// <param name="keyValue">主键值</param> /// <param name="entity">实体对象</param> public void UpdateForm(string keyValue, System_SetExcelExportEntity entity) { try { service.UpdateForm(keyValue, entity); } catch (Exception) { throw; } }
/// <summary> /// 保存表单(新增、修改) /// </summary> /// <param name="keyValue">主键值</param> /// <param name="entity">实体对象</param> /// <returns></returns> public void SaveForm(string keyValue, System_SetExcelExportEntity entity) { try { service.SaveForm(conEntity.DbConnection, keyValue, entity); } catch (Exception) { throw; } }
/// <summary> /// 保存表单(新增、修改) /// </summary> /// <param name="keyValue">主键值</param> /// <param name="entity">实体对象</param> /// <returns></returns> public void SaveEntity(string keyValue, System_SetExcelExportEntity entity) { try { service.SaveEntity(keyValue, entity); } catch (Exception) { throw; } }
/// <summary> /// 更新实体 /// </summary> /// <param name="keyValue">主键值</param> /// <param name="entity">模板实例数据</param> /// <returns></returns> public ActionResult UpdateForm(string keyValue, System_SetExcelExportEntity entity) { templatebll.UpdateForm(keyValue, entity); return(Success("操作成功")); }
/// <summary> /// 保存表单数据 /// </summary> /// <param name="keyValue"></param> /// <param name="entity"></param> /// <returns></returns> public ActionResult SaveForm(string keyValue, System_SetExcelExportEntity entity) { templatebll.SaveEntity(keyValue, entity); return(Success("保存成功")); }