老师有个小地方讲错了,应该是rs.getMetaData().getColumnLabel()来获取指定列的别名...经测试确实如老师所说啊.谢谢老师..
2018-10-26
#{ongl的取值写法},也就是说后来把sql预编译后的赋值阶段,会把这个作为ognl表达式从paramterType中的对象取到值并给?赋值. 谢谢老师,干货满满啊
2018-10-25
<if test="command != null and !''.equals(command.trim())">
2018-10-06
oracle:
<if test="description != null and !&quot;&quot;.equals(description.trim())">
and DESCRIPTION like '%'||#{description}||'%' </if>
<if test="description != null and !&quot;&quot;.equals(description.trim())">
and DESCRIPTION like '%'||#{description}||'%' </if>
2018-09-25