public void Edit(dynamic data) { var wrappers = RequestWrapper.InstanceArray(1); wrappers[0].SetXml(@" <settings> <table>sys_permission</table> <where> <c column='PermissionCode' values='{_id}'></c> </where> </settings>"); var service = new sys_permissionService(); var result = service.Edit(data, null, wrappers); }
public void Edit(dynamic data) { var wrappers = RequestWrapper.InstanceArray(1); wrappers[0].SetXml(@" <settings> <table>sys_permission</table> <where> <c column='PermissionCode' values='{_id}'></c> </where> </settings>"); var service = new sys_permissionService(); var result = service.Edit(data, null, wrappers); }
public void Edit(dynamic data) { var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@" <settings> <table> sys_permission </table> <where> <field name='PermissionCode' cp='equal' variable='_id'></field> </where> </settings>"); var service = new sys_permissionService(); var result = service.Edit(null, listWrapper, data); //service.Logger("api/mms/send", "菜单数据", "修改", data); }
public void Edit(dynamic data) { var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@" <settings> <table> sys_permission </table> <where> <field name='PermissionCode' cp='equal' variable='_id'></field> </where> </settings>"); var service = new sys_permissionService(); var result = service.Edit(null, listWrapper, data); //service.Logger("api/mms/send", "菜单数据", "修改", data); }