<select id="getComplaints" parameterClass="java.util.Map"resultMap="MotoComplainDataResult" ><![CDATA[SELECT * FROM(SELECT A.*, rownum r FROM (SELECT * FROM MOTO_COMPLAIN_DATA]]><dynamic prepend=""><isPropertyAvailable property="status"><isNotNull property="status" prepend=" where ">STATUS=#status#</isNotNull></isPropertyAvailable></dynamic><![CDATA[) A WHERE rownum <= #end#) B WHERE r > #start#]]></select>
添加回答
举报
0/150
提交
取消