Esempio n. 1
0
        public ActionResult CodeQuery(FormCollection collection)
        {
            var qm  = new AlAssmblingLogQryModel();
            var bln = this.TryUpdateModel(qm);

            ViewBag.RequestKey = qm.RequestKey;
            return(View(qm));
        }
Esempio n. 2
0
        public AL_AssmblingLogDataTable AlAssmblingLog_getList(AlAssmblingLogQryModel qm)
        {
            var dt = NsDmHelper.AL_AssmblingLog
                     .selectAll(t => t.AllExt)
                     .query();

            return(dt);
        }
Esempio n. 3
0
        public ActionResult List(FormCollection collection, int jtStartIndex = 0, int jtPageSize = 0, string jtSorting = null)
        {
            //查詢參數
            var qm    = new AlAssmblingLogQryModel();
            var isOK  = this.TryUpdateModel(qm);
            var token = collection["__RequestVerificationToken"];

            var dt = AlDataService.Instance.AlAssmblingLog_getList(qm);

            //排序
            var dtSorted = dt.sort(jtSorting);

            if (Request.IsAjaxRequest())
            {
                return(converToJTableSource(dtSorted, jtStartIndex, jtPageSize));
            }
            else
            {
                return(View(dt));
            }
        }
Esempio n. 4
0
        public ActionResult Index()
        {
            var qm = new AlAssmblingLogQryModel();

            return(View(qm));
        }