public ActionResult SearchExl() { var da = new MISS02P001DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = MISS02P001ExecuteType.GetExl; da.SelectNoEF(da.DTO); return(JsonAllowGet(da.DTO.Models, da.DTO.Result)); }
public ActionResult SearchInfo() { var da = new MISS02P001DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = MISS02P001ExecuteType.GetByID; da.DTO.Model.COM_CODE = TempModel.COM_CODE; da.DTO.Model.YEAR = TempModel.YEAR; da.SelectNoEF(da.DTO); return(JsonAllowGet(da.DTO.Models, da.DTO.Result)); }
public ActionResult Bind_Detail() { var da = new MISS02P001DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = MISS02P001ExecuteType.GetDetailByID; da.DTO.Model.COM_CODE = TempModel.APP_CODE; da.DTO.Model.YEAR = TempModel.YEAR; da.SelectNoEF(da.DTO); return(JsonAllowGet(da.DTO.Model.Details)); }
public ActionResult CD_DUP(MISS02P001Model model) { var da = new MISS02P001DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = MISS02P001ExecuteType.cd_dup; da.DTO.Model = model; da.SelectNoEF(da.DTO); return(JsonAllowGet(da.DTO.Model)); }
public ActionResult Search(MISS02P001Model model) { var da = new MISS02P001DA(); SetStandardErrorLog(da.DTO); da.DTO.Execute.ExecuteType = MISS02P001ExecuteType.GetAll; if (Request.GetRequest("page").IsNullOrEmpty()) { model.IsDefaultSearch = true; TempSearch = model; } da.DTO.Model = TempSearch; da.DTO.Model.COM_CODE = SessionHelper.SYS_COM_CODE; da.SelectNoEF(da.DTO); return(JsonAllowGet(da.DTO.Models, da.DTO.Result)); }