<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: gzj $Date: 2022年6月14日 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false"> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[ SELECT count(1) wfl_count FROM con_monthly_statement t where t.monthly_date = ${@date} and t.status_name ='APPROVED' ]]></bm:query-sql> </bm:operation> <bm:operation name="update"> <bm:update-sql><![CDATA[ begin con_monthly_statement_pkg.reset_monthly_statement(p_user_id =>${/session/@user_id}, p_date =>${@date}); end; ]]></bm:update-sql> </bm:operation> </bm:operations> <bm:fields> <bm:field name="wfl_count"></bm:field> </bm:fields> </bm:model>