mybatis
mybatis
aiming66
这个作者很懒,什么都没留下…
展开
-
【mybaits-源码-1】原生jdbc的问题
我们的jdbc原生问题和解决思路原创 2023-03-27 16:17:42 · 581 阅读 · 0 评论 -
mybatis的mapper 文件中如何写批量插入
<insert id="batchInsert" parameterType="list"> insert into tb_user (teacher_code, teacher_name, province_code, province_name, city_code, city_name, county_code, county_name, ) values <foreach collect原创 2021-08-26 14:49:34 · 2547 阅读 · 0 评论 -
mybatis 的mapper 文件如何写in语句
<select id="getSchoolsBycodeS" resultMap="BaseResultMap"> SELECT province_code, city_code, county_code, school_code, from school <where> school_code in <foreac.原创 2021-08-26 14:44:08 · 2402 阅读 · 0 评论