<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: chenlingfeng
    $Date: 2018-12-31 18:17:30
    $Revision: 1.0
    $Purpose:
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" xmlns:s="leaf.plugin.script" needAccessControl="false" accessControlMode="false" >
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
	    	 select
withhold_method value,
withhold_method_desc name
 from ds_Bank_withholding_info_v t group by
withhold_method,
withhold_method_desc

	    	]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <s:bm-script><![CDATA[
            var cx = Packages.leaf.javascript.Context.getCurrentContext();
            Packages.leaf.plugin.script.engine.ScriptImportor.defineExternScript(cx, this, $ctx.getData(), "aut_authority_bm_validate.js");
        ]]></s:bm-script>
    <bm:fields>

        <bm:field name="value"/>
        <bm:field name="name"/>
    </bm:fields>

</bm:model>
