博客园站长
这是人类成长进步中记录的每一时刻
摘要: 错误 <if test="status == '1'"> 正确 <if test="status == '1'.toString()"> 阅读全文
posted @ 2018-07-31 15:01 dm3344 阅读(182) 评论(0) 推荐(0)
摘要: 1、原因 server层 xxxx.get("1234") map <if test="aaa != null and aaa.id != null and aaa.id != ''"> AND a.aaa = #{aaa.id} </if> 强行把字符串当作实体对象来判断了,所以是笔误 应该改为 阅读全文
posted @ 2018-07-31 10:16 dm3344 阅读(138) 评论(0) 推荐(0)