<?xml version="1.0" encoding="UTF-8"?>
<sqlMap namespace="mobile">
<select id="getModule">
SELECT * FROM tbl_mobile_module ORDER BY `sort` DESC
</select>
<update id="setModuleStatus">
UPDATE tbl_mobile_module SET status = :status WHERE id = :id
</update>
</sqlMap>