``` @Select("select user_number,username from dormitory as a"+
" inner join user_dormitory as b on a.dor_id = b.dor_id"+
"inner join user as c on b.student_number = c.user_number"+
"where a.ridgepole = #{ridgepole} and a.unit = #{unit} and a.door_number = #{doorNumber} and b.room_number = #{roomNumber}"
)
报错:
Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'a.ridgepole = '10' and a.unit = 'A' and a.door_number = '532' and b.room_number ' at line 1