sql如下:
<select id="selectAllDistrict" resultType="java.util.Map"> select id AS "id",district as "district" from sys_areas where id = 428572; </select>
报错:ORA-00911: 无效字符
原因分析:select语句末尾多加了一个分号‘;‘
sql如下:
<select id="selectAllDistrict" resultType="java.util.Map"> select id AS "id",district as "district" from sys_areas where id = 428572; </select>
报错:ORA-00911: 无效字符
原因分析:select语句末尾多加了一个分号‘;‘