修复SQL异常

This commit is contained in:
xpecya 2024-12-11 09:43:37 +08:00
parent a1643ccff6
commit b6cbe440f7
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public interface NewsMapper {
@Param("offset") int offset);
@Select("<script>" +
"select count(news.*) from news " +
"select count(*) from news " +
"<if test=\"column != null\">" +
"inner join news_column_rel on news.id = news_column_rel.news_id " +
"</if>" +