摘要: 1.mybatis更新一条数据时,如果某字段为空,则不更新它,使用默认值? <update id="updateProduct" parameterType="Product" > update product_ <set> <if test="name != null">name=#{name}, 阅读全文
posted @ 2019-11-21 11:21 Practical 阅读(214) 评论(0) 推荐(0) 编辑