public ActionResult InfoChangeOrder(int OID) { ECO ECODetail = ECORepository.SelChangeOrderObject(new ECO { OID = OID }); ViewBag.ECODetail = ECODetail; ViewBag.Status = BPolicyRepository.SelBPolicy(new BPolicy { Type = EoConstant.TYPE_CHANGE_ORDER }); return(View()); }
public JsonResult UdtChangeOrder(ECO _param) { int result = 0; try { DaoFactory.BeginTransaction(); DObjectRepository.UdtDObject(_param); ECORepository.UdtChangeOrderObject(_param); DaoFactory.Commit(); } catch (Exception ex) { DaoFactory.Rollback(); return(Json(new ResultJsonModel { isError = true, resultMessage = ex.Message, resultDescription = ex.ToString() })); } return(Json(result)); }
public JsonResult SelChangeOrder(ECO _param) { List <ECO> lECO = ECORepository.SelChangeOrder(_param); return(Json(lECO)); }