摘要: 红字部分代表mybatis的批量操作调用方法: int num = 0; int maxLength = 200; int size = usableCodes.size(); if (size subList = usableCodes.subList(fromIndex, toIndex); ... 阅读全文
posted @ 2018-09-13 11:15 Angel挤一挤 阅读(657) 评论(0) 推荐(0)
摘要: 例如 info表和relation表有关联,现在要在一个sql语句中同时级联更新两张表的数据 批量操作更新级联操作的sql: 阅读全文
posted @ 2018-09-13 11:12 Angel挤一挤 阅读(10433) 评论(0) 推荐(0)