sql
雨uu
码农
展开
-
mybatis 使用时 报错集锦
原sql <update id="update" parameterType = "java.util.List"> <foreach collection="list" item="item" index="index" separator=","> update xxx set state = 1 where id= #{item.id} and type...原创 2019-10-31 09:47:13 · 794 阅读 · 1 评论 -
SQL state '42000', error code '1064',
sql 语句(mybatis) DELETE FROM xxx t where id = #{id} and type in <foreach collection="types" item="type" index="index" open="(" close=")" separator=","> #{type} </foreach&...原创 2019-10-30 11:37:23 · 856 阅读 · 0 评论 -
存储过程使用
最近会详细学习下数据库存储过程,在此记录。持续更新中原创 2019-10-30 09:18:23 · 76 阅读 · 0 评论