摘要: <!-- 根据条件批量查询 --> <select id="selectBySeatNum" parameterType="java.util.List" resultType="com.wap.platform.seat.entry.Seat"> select <include refid="Ba 阅读全文
posted @ 2020-01-16 11:11 菜菜caicai 阅读(3609) 评论(0) 推荐(0) 编辑
摘要: <!-- 座位的批量插入 --> <insert id ="insertSeats" parameterType="java.util.List" > insert into pf_seat (id, cla_code, row_num, col_num, only_code, seat_num, 阅读全文
posted @ 2020-01-16 11:08 菜菜caicai 阅读(103) 评论(0) 推荐(0) 编辑
摘要: <!-- 批量删除 --> <delete id="deleteMore" parameterType = "java.util.List"> delete from pf_classroom where id in <foreach collection="list" item="item" op 阅读全文
posted @ 2020-01-16 11:07 菜菜caicai 阅读(192) 评论(0) 推荐(0) 编辑
摘要: mysql的xml文件中当传入的参数类型为String的时候,会抛出异常 mybatis There is no getter for property named 'xx' in 'class java.lang.String 错误写法: 正确写法: 解决办法将test="title=null"换 阅读全文
posted @ 2020-01-16 10:35 菜菜caicai 阅读(167) 评论(0) 推荐(0) 编辑