MyBatis 的強大特性之一便是它的動態SQL。 ... SELECT * FROM BLOG WHERE state = 'ACTIVE' <if test="title != null"> AND title like #{title} </if> </select>.
確定! 回上一頁