欢迎投稿

今日深度:

update更新两个字段

update更新两个字段


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

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

科室如果我将字段的“,”写成了and也不报错。但是更新不了。如图:

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

www.htsjk.Com true http://www.htsjk.com/shujukunews/1333.html NewsArticle update更新两个字段 update更新两个字段时的sql语句: update tj_record set is_recycle_reprint_guide='1' , recycle__guide_date=now() where id = #{record_id} 科室如果我将字段的“,”写成了and也不报错。但是更...
评论暂时关闭