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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }