<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
			SELECT *
              FROM (SELECT ROWNUM index_num, t.*
                      FROM (SELECT t.ip,
                                   to_char(t.login_time,
                                           'yyyy"年"MM"月"dd"日" hh24"时"mi"分"ss"秒"') AS login_time
                              FROM sys_user_login t
                             WHERE t.user_id = 1
                             ORDER BY t.login_id DESC) t) tt
             WHERE tt.index_num = 2
            ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
