<update id="UpdatePwd" parameterType="java.util.List">
    UPDATE
        FP_USER_BASE
    SET
        PASSWORD =
    <foreach collection="list" item="item" index="index" separator=" "
        open="case ID" close="end">
        WHEN #{item.id,jdbcType=BIGINT} THEN #{item.password,jdbcType=VARCHAR}
    </foreach> 
  </update>

 

相关文章:

  • 2021-04-17
  • 2021-08-17
  • 2021-08-01
  • 2021-06-04
猜你喜欢
  • 2021-06-19
  • 2022-12-23
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
相关资源
相似解决方案