@Select({ "<script>" , "SELECT COUNT(*) FROM category", "<if test='query != null and query != \" \" '>", "where cat_name like '%${query}%'", "</if>", "</script>" }) Integer getCount(@Param("query") String query);
2024-02-17 12:20:59
@Select({ "<script>" , "SELECT COUNT(*) FROM category", "<if test='query != null and query != \" \" '>", "where cat_name like '%${query}%'", "</if>", "</script>" }) Integer getCount(@Param("query") String query);