public dynamic Get(RequestWrapper request) { request.LoadSettingXmlString(@" <settings defaultOrderBy='UserSeq'> <where> <field name='UserCode' cp='mapchild' extend='sys_userOrganizeMap,OrganizeCode,sys_organize' variable='OrganizeCode' ignoreEmpty='true'></field> </where> </settings>"); var service = new sys_userService(); var result = service.GetModelListWithPaging(request.ToParamQuery()); return result; }
public dynamic Get(RequestWrapper request) { request.SetXml(@" <settings> <where> <c column='UserCode' symbol='mapchild' values='{OrganizeCode},sys_userOrganizeMap,OrganizeCode,sys_organize' ignore='empty'></c> </where> <orderby>UserSeq</orderby> </settings>"); var service = new sys_userService(); var result = service.GetModelListWithPaging(request.ToParamQuery()); return result; }
public dynamic Get(RequestWrapper request) { request.SetXml(@" <settings> <where> <c column='UserCode' symbol='mapchild' values='{OrganizeCode},sys_userOrganizeMap,OrganizeCode,sys_organize' ignore='empty'></c> </where> <orderby>UserSeq</orderby> </settings>"); var service = new sys_userService(); var result = service.GetModelListWithPaging(request.ToParamQuery()); return(result); }