MyBatis 注解写 SQL 判断空字符串 或 判断为空

XXXXMapper 接口:java         这里判断数据不能为空app @Select("<script>" + "select * from gs_store" + " <where>" + " <if test='storeTel != null' > " + " and store_tel = #{storeTel}" + " </if>" + "</wher
相关文章
相关标签/搜索