各位好:
mybatis的参数 <if test="_parameter != null" > </if>
其中是否可以写成<if test="_parameter != null and parameter =='aaaa'" > </if>
或者写成<if test="_parameter != null and parameter ==12" > </if>
也就是说参数可以是字符串的判断还是可以是数字的判断。
谢谢
mybatis的参数 <if test="_parameter != null" > </if>
其中是否可以写成<if test="_parameter != null and parameter =='aaaa'" > </if>
或者写成<if test="_parameter != null and parameter ==12" > </if>
也就是说参数可以是字符串的判断还是可以是数字的判断。
谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货