- 博客(6)
- 收藏
- 关注
原创 mybatis参数传递踩坑:There is no getter for property named ‘xxx‘ in ‘class java.lang.Integer‘
<!--根据id更新用户信息--> <update id="update" parameterType="com.example.bishe.POJO.User" > update user <set > <if test="age != null" > age = #{age,jdbcType=INTEGER} </if> ..
2022-04-29 12:03:30 849
原创 Mybatis踩坑----there is no getter for parameter xxx
<insert id="insert" useGeneratedKeys="true" keyColumn="uid" keyProperty="uid" parameterType="com.example.bishe.POJO.User" > insert into user <trim prefix="(" suffix=")" suffixOverrides="," > <if test="age != null.
2022-04-19 10:42:55 946
原创 Result Maps collection already contains value for com.example.bishe.mapper.UserMapper.BaseResultMap
在spring boot的application.properties中,配置了mybatis.config-location=classpath:mybatis-config.xml mybatis.mapper-locations=classpath*:mapper/*.xml。这样相当于mapper的配置被配置了两遍。 应把mybatis-config.xml中的mappers部分删除 ...
2022-04-17 16:13:11 335
原创 list.add()覆盖问题
for (int i=0;i<6;i++) { Map<String,Object> map = new HashMap<>(); Job job = jobList.get(i); job_name=job.getJobName(); payment = job.getPayment(); job_location=job.getJobLocation(); education=job.getEducationRequired.
2021-06-08 10:22:32 673
原创 bootstrap table
记录一下自己遇到的坑,今天找了一天了,明明前端已经取到值了,table就是不渲染,原来是因为我写的是 sidePagination : 'server' 改成 sidePagination : 'client' 就好了
2021-05-30 00:17:57 71
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人