MyBatis 註解寫 SQL 判斷空字符串 或 判斷爲空

XXXXMapper 接口:java         這裏判斷數據不能爲空app @Select("<script>" + "select * from gs_store" + " <where>" + " <if test='storeTel != null' > " + " and store_tel = #{storeTel}" + " </if>" + "</wher
相關文章
相關標籤/搜索