MyBatis解析Integer=0的问题分析
在使用Mybatis解析Integr=0或者Float或者Double时的解析问题
先说解决方法:
<if test="flag != null and flag != '' ">
`flag ` = #{
flag ,jdbcType=Integer}
</if>
直接将上面的SQL代码改为下面即可
<
在使用Mybatis解析Integr=0或者Float或者Double时的解析问题
先说解决方法:
<if test="flag != null and flag != '' ">
`flag ` = #{
flag ,jdbcType=Integer}
</if>
直接将上面的SQL代码改为下面即可
<