<?xml version="1.0" encoding="UTF-8"?> <!-- $Author: syj $Date: 2015年7月27日11:47:28 $Revision: 1.0 $Purpose: --> <bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm"> <bm:operations> <bm:operation name="query"> <bm:query-sql><![CDATA[ SELECT * FROM (SELECT sysdate due_date_from, add_months(sysdate,1) due_date_to FROM dual ) t1 #WHERE_CLAUSE# ]]></bm:query-sql> </bm:operation> </bm:operations> <bm:fields> <bm:field name="due_date_from" databaseType="DATE" datatype="java.util.Date"/> <bm:field name="due_date_to" databaseType="DATE" datatype="java.util.Date"/> </bm:fields> </bm:model>