03 2023 档案
摘要:问题 在走接口的时候,需要使用mybtatis的批量更新,偷了个懒使用Foreach的形式拼接多个sql语句进行更新。结果在执行到这个sql的时候update一直报错 ### Error updating database. Cause: java.sql.SQLSyntaxErrorExcepti
阅读全文
摘要:mysql关联表查询最新的数据 select it.name,ns.id,it.id childId,it.id_card idCard,it.card_type cardType,it.birthday,ns.guardian guardian,ns.mother_phone motherPhon
阅读全文
摘要://切片插入,进行更新 if(collect.size() > 500){ List<List<Integer>> partition = ListUtils.partition(collect, 500); for (List<Integer> assignIds : partition) { n
阅读全文