コード例 #1
0
        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;
        }
コード例 #2
0
ファイル: UserController.cs プロジェクト: leo0530/Zephyr
 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;
 }
コード例 #3
0
        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;
        }
コード例 #4
0
        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);
        }