public void Edit(dynamic data)
        {
            var wrappers = RequestWrapper.InstanceArray(1);
            wrappers[0].SetJson(@"{table:'sys_parameter',where:[{column:'ParamCode',values:'{_id}'}]}");

            var service = new sys_parameterService();
            var result = service.Edit(data,null,wrappers);
        }
        public void Edit(dynamic data)
        {
            var wrappers = RequestWrapper.InstanceArray(1);

            wrappers[0].SetJson(@"{table:'sys_parameter',where:[{column:'ParamCode',values:'{_id}'}]}");

            var service = new sys_parameterService();
            var result  = service.Edit(data, null, wrappers);
        }
Ejemplo n.º 3
0
        public void Edit(dynamic data)
        {
            var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@"
<settings>
    <table>
        sys_parameter
    </table>
    <where>
        <field name='ParamCode' cp='equal' variable='_id'></field>
    </where>
</settings>");
            var service     = new sys_parameterService();
            var result      = service.Edit(null, listWrapper, data);
        }
        public void Edit(dynamic data)
        {
            var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@"
<settings>
    <table>
        sys_parameter
    </table>
    <where>
        <field name='ParamCode' cp='equal' variable='_id'></field>
    </where>
</settings>");
            var service = new sys_parameterService();
            var result = service.Edit(null, listWrapper, data);
        }