摘要: #{}:表示占位符,如果获取简单类型,#{}中可以使用value或其它名称。有效防止sql注入。使用#{}设置参数无需考虑参数的类型。如果使用#{}比较日期字段,select* from tablename where birthday >=#{birthday} ... 阅读全文
posted @ 2017-09-18 00:39 yaochunguang 阅读(153) 评论(0) 推荐(0)