摘要: JPA if && in语句示例 示例: //按照参数顺序填入sql @Query(value = "select count(1) from exam where class=?1 AND if(COALESCE(?2,NULL) IS NOT NULL, status in (?2), 1=1) 阅读全文
posted @ 2021-01-28 11:42 漫夭 阅读(1933) 评论(0) 推荐(0) 编辑