public dynamic GetLoginLog(RequestWrapper request) { var service = new sys_loginHistoryService(); request.SetXml(@" <settings> <select>A.*</select> <from>sys_loginHistory A</from> <where><c column='LoginDate' values='{LogDate}' symbol='daterange' ignore='empty'></c></where> <orderby>ID desc</orderby> </settings>"); return service.GetModelListWithPaging(request.ToParamQuery()); }
public dynamic GetLoginLog(RequestWrapper request) { var service = new sys_loginHistoryService(); request.SetXml(@" <settings> <select>A.*</select> <from>sys_loginHistory A</from> <where><c column='LoginDate' values='{LogDate}' symbol='daterange' ignore='empty'></c></where> <orderby>ID desc</orderby> </settings>"); return(service.GetModelListWithPaging(request.ToParamQuery())); }
public dynamic GetLoginLog(RequestWrapper request) { var service = new sys_loginHistoryService(); request.LoadSettingXmlString(@" <settings defaultOrderBy='ID desc'> <select> A.* </select> <from> sys_loginHistory A </from> <where defaultForAll='true' defaultCp='equal' defaultIgnoreEmpty='true' > <field name='LoginDate' cp='daterange' variable='LogDate' ></field> </where> </settings>"); return service.GetModelListWithPaging(request.ToParamQuery()); }
public dynamic GetLoginLog(RequestWrapper request) { var service = new sys_loginHistoryService(); request.LoadSettingXmlString(@" <settings defaultOrderBy='ID desc'> <select> A.* </select> <from> sys_loginHistory A </from> <where defaultForAll='true' defaultCp='equal' defaultIgnoreEmpty='true' > <field name='LoginDate' cp='daterange' variable='LogDate' ></field> </where> </settings>"); return(service.GetModelListWithPaging(request.ToParamQuery())); }