MyBatis實現模糊查詢的幾種方式

在學習MyBatis過程中想實現模糊查詢,下面列舉幾種方式: 1.用${…}代替#{…} <select id="searchStudents" resultType="com.example.entity.StudentEntity" parameterType="com.example.entity.StudentEntity"> SELECT * FROM test_
相關文章
相關標籤/搜索