update更新两个字段

    update更新两个字段时的sql语句:

   update tj_record set is_recycle_reprint_guide='1' , recycle__guide_date=now() where id = #{record_id}

科室假设我将字段的“。”写成了and也不报错。可是更新不了。

如图:

切记,更新多个字段时是以逗号分隔。


posted @ 2016-03-30 15:14  mengfanrong  阅读(1072)  评论(0编辑  收藏  举报