摘要: 需要在SpringMVC的配置文件加上 阅读全文
posted @ 2018-01-05 11:26 黎波波 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 传递Integer类型的值,如果传递的是0,到mybatis的mapper的xml文件中是把值当作空字符串,mybatis源码对其进行了强制定义。 <if test="status != null and status != '' or status == 0"> 使用时增加多一个or status 阅读全文
posted @ 2018-01-05 09:32 黎波波 阅读(336) 评论(0) 推荐(1) 编辑