Пример #1
0
 public void SubmitDetailForm(WFItemDetailEntity itemsDetailEntity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         itemsDetailEntity.Modify(keyValue);
         serviceDetail.Update(itemsDetailEntity);
     }
     else
     {
         itemsDetailEntity.Create();
         serviceDetail.Insert(itemsDetailEntity);
     }
 }
Пример #2
0
 public ActionResult SubmitForm(WFItemDetailEntity itemsDetailEntity, string keyValue)
 {
     itemsApp.SubmitDetailForm(itemsDetailEntity, keyValue);
     return(Success("操作成功。"));
 }