public void Edit(dynamic data) { var wrappers = RequestWrapper.InstanceArray(1); wrappers[0].SetJson("{table:'sys_user',where:[{column:'UserCode'}]}"); var service = new sys_userService(); var result = service.Edit(data, null, wrappers); }
public void Edit(dynamic data) { var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@" <settings> <table>sys_user</table> <where> <field name='UserCode' cp='equal'></field> </where> </settings>"); var service = new sys_userService(); var result = service.Edit(null, listWrapper, data); }