Ejemplo n.º 1
0
        public IEnumerable <dynamic> Get(RequestWrapper req)
        {
            req.SetJson("{orderby:'RoleSeq'}");
            var result = new sys_roleService().GetModelList(req.ToParamQuery());

            return(result);
        }
Ejemplo n.º 2
0
        public dynamic Get(RequestWrapper request)
        {
            request.SetJson("{where:[{column:'CodeType',ignore:'empty'}],orderby:'Seq'}");
            var service = new sys_codeService();
            var result  = service.GetModelListWithPaging(request.ToParamQuery());

            return(result);
        }
Ejemplo n.º 3
0
        public dynamic GetCodeType(RequestWrapper request)
        {
            request.SetJson(@"{
where:[
{column:'CodeType',ignore:'empty'},
{column:'CodeTypeName',symbol:'like',ignore:'empty'}
],
orderby:'Seq,CodeType'
}");
            var result = new sys_codeTypeService().GetDynamicListWithPaging(request.ToParamQuery());

            return(result);
        }
 public dynamic Get(RequestWrapper request)
 {
     request.SetJson("{orderby:'ParamCode'}");
     return(new sys_parameterService().GetModelListWithPaging(request.ToParamQuery()));
 }