标签:find 语句 解释 order by 基本 防止 问题 ... sql语句
<selectid="find">
... where name = #{name} order by ${columnName}
</select>
...where name =‘LCF‘ order by id
<selectid="find">
... where name = ${name} order by #{columnName}
</select>
...where name = LCF order by‘id‘
标签:find 语句 解释 order by 基本 防止 问题 ... sql语句
原文地址:http://www.cnblogs.com/LiuChunfu/p/7062297.html