<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
         <bm:operation name="insert">
            <bm:update-sql><![CDATA[
                BEGIN
                wx_ele_auth_sign_online_pkg.np_auto_sign_flow(p_contract_id  =>${@contract_id},
                                                              p_id_no    =>${@id_no},
                                                              p_sign_time   =>to_char(to_date(${@sign_time},'YYYY/MM/DD HH24:MI:SS'),'yyyy/mm/dd'),
                                                              p_user_id  =>1
                                                              );
                END;
            ]]></bm:update-sql>
        </bm:operation>
		 <bm:operation name="update">
                <bm:update-sql><![CDATA[
				     begin
                     wx_ele_auth_sign_online_pkg.delete_np_signflow(p_id_no =>${@id_no},
                                                                 p_contract_id=>${@contract_id});
					 end;
                    ]]></bm:update-sql>
            </bm:operation>
    </bm:operations>
</bm:model>
