MyBatis 指定*Mapper.xml 文件 属性值赋值null

配置文件代码:

  <!--特殊赋值操作null -->
  <update id="unbind" parameterType="String">
  		update ucas_bus_column
  			set
  				bus_table_id = null
  			where sid = #{sid,jdbcType=VARCHAR}
			
  </update>

猜你喜欢

转载自blog.csdn.net/zhouzhiwengang/article/details/90232484