<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            begin
				bgfl_bp_master_authorize_pkg.authority(p_bp_id                 =>${@bp_id},
    												   p_description           =>${@description},
    												   p_authorize_unit_id     =>${@unit_id},
    												   p_authorize_position_id =>${@position_id},
    												   p_authorize_user_id     =>${@user_id},
    												   p_start_date            =>to_date(${@start_date},'yyyy-mm-dd'),
    											       p_end_date              =>to_date(${@end_date},'yyyy-mm-dd'),
    												   p_user_id               =>${/session/@user_id});
			end;
			]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
