摘要: 这两天项目用到mybatis,碰到and or的联合查询,语句像这样的 select * from table where xxx = "xxx" and (xx1="xx1" or xx2="xx2") 但是我发现mybatis,暂时没有这种写法,于是我变相的这样实现 select * from 阅读全文
posted @ 2016-11-07 10:46 全力以赴001 阅读(3949) 评论(0) 推荐(0)