- 博客(2)
- 收藏
- 关注
原创 使用动态sql查询数据库,查询出来的数据比预期的要少
使用动态sql查询数据库,查询出来的数据比预期的要少 含有3个可选传递的参数,前端未传入参数,则默认为空字符串’ '(前端使用的是Vue) 查询出来的数据只有7条 <select id="selectTotal" resultType="java.lang.Integer"> select count(*) from b_users <where> <if test="userName!=null"> user_name l
2022-04-01 21:55:29
1180
原创 There is no getter for property named ‘user_name’ in ‘class com.example.demo.pojo.User’
There is no getter for property named ‘user_name’ in ‘class com.example.demo.pojo.User’
2022-03-22 21:30:16
2822
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人