示例#1
0
        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));
        }
示例#2
0
        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));
        }
示例#3
0
        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));
        }
示例#4
0
        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));
        }
示例#5
0
        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));
        }