MyBatis 指定*Mapper.xml 文件 属性值赋值null
你猜
阅读:927
2021-03-31 18:11:13
评论:0
配置文件代码:
<!--特殊赋值操作null -->
<update id="unbind" parameterType="String">
update ucas_bus_column
set
bus_table_id = null
where sid = #{sid,jdbcType=VARCHAR}
</update>
声明
1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。