Authored by tmq

BUG

<?xml version="1.0" encoding="UTF-8"?>
<sqlMap namespace="news">
<select id="getList">
SELECT * FROM `tbl_news` #where# order by create_time desc limit :offset, :limit
SELECT * FROM `tbl_news` #where# order by sort DESC , create_time desc limit :offset, :limit
</select>
<select id="getOneById">
SELECT * FROM `tbl_news` where `id`=:id
... ...