摘要: Java再用@Select拼接sql语句时候, #{参数名}:是加引号的 ${参数名}:是不加引号的 例如: userIds为List或者数组,值为1,2,3,4,5 1.@Select("select * from users where userId in (#{userIds})") 翻译为s 阅读全文
posted @ 2018-05-22 09:16 myyBlog 阅读(2744) 评论(0) 推荐(1) 编辑