예제 #1
0
 /// <summary>
 /// 保存表单(新增)
 /// </summary>
 /// <param name="entity">实体对象</param>
 /// <returns></returns>
 public void SaveForm(ReceivableEntity entity)
 {
     try
     {
         service.SaveForm(entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 /// <summary>
 /// 保存表单(新增)
 /// </summary>
 /// <param name="entity">实体对象</param>
 /// <returns></returns>
 public void UpdateStateForm(string keyValue, ReceivableEntity entity)
 {
     try
     {
         service.UpdateStateForm(keyValue, entity);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #3
0
 public ActionResult SaveForm(ReceivableEntity entity)
 {
     receivablebll.SaveForm(entity);
     return(Success("操作成功。"));
 }
예제 #4
0
 public ActionResult UpdateStateForm(string keyValue, ReceivableEntity entity)
 {
     receivablebll.UpdateStateForm(keyValue, entity);
     return(Success("操作成功。"));
 }