public void Edit(dynamic data)
        {
            var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@"
<settings>
    <table>
        mms_lossReportBatches
    </table>
    <where>
        <field name='RowId' cp='equal'></field>
    </where>
</settings>");
            var service     = new mms_lossReportBatchesService();
            var result      = service.Edit(null, listWrapper, data);
        }
        public dynamic Get(RequestWrapper query)
        {
            query.LoadSettingXmlString(@"
<settings defaultOrderBy='RowId'>
    <select>*</select>
    <from>mms_lossReportBatches</from>
    <where defaultForAll='true' defaultCp='equal' defaultIgnoreEmpty='true' >
        <field name='MaterialCode'		cp='equal'></field>   
        <field name='Money'		cp='equal'></field>   
        <field name='SrcRowId'		cp='equal'></field>   
    </where>
</settings>");
            var service = new mms_lossReportBatchesService();
            var pQuery = query.ToParamQuery();
            var result = service.GetDynamicListWithPaging(pQuery);
            return result;
        }
        public dynamic Get(RequestWrapper query)
        {
            query.LoadSettingXmlString(@"
<settings defaultOrderBy='RowId'>
    <select>*</select>
    <from>mms_lossReportBatches</from>
    <where defaultForAll='true' defaultCp='equal' defaultIgnoreEmpty='true' >
        <field name='MaterialCode'		cp='equal'></field>   
        <field name='Money'		cp='equal'></field>   
        <field name='SrcRowId'		cp='equal'></field>   
    </where>
</settings>");
            var service = new mms_lossReportBatchesService();
            var pQuery  = query.ToParamQuery();
            var result  = service.GetDynamicListWithPaging(pQuery);

            return(result);
        }
        public void Edit(dynamic data)
        {
            var listWrapper = RequestWrapper.Instance().LoadSettingXmlString(@"
<settings>
    <table>
        mms_lossReportBatches
    </table>
    <where>
        <field name='RowId' cp='equal'></field>
    </where>
</settings>");
            var service = new mms_lossReportBatchesService();
            var result = service.Edit(null, listWrapper, data);
        }