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

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

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

如图:

update更新两个字段

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


相关文章:

  • 2021-12-27
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2022-01-17
  • 2022-12-23
猜你喜欢
  • 2021-07-18
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-31
  • 2021-09-29
相关资源
相似解决方案