use ? to bind variables String sql = "SELECT * FROM users WHERE name= ? ... 而使用${} 語法時,MyBatis 會直接注入原始字符串,即相當於拼接字符 ...
確定! 回上一頁