anderx 3 anni fa
parent
commit
c5a170d387

+ 3 - 2
src/main/java/com/goafanti/common/mapper/JtNewsMapper.xml

@@ -168,6 +168,7 @@
     from jt_news
     from jt_news
   </select>
   </select>
   <select id="JtNewsCount">
   <select id="JtNewsCount">
-
-  </select>
+    select count(*)
+    from jt_news
+ </select>
 </mapper>
 </mapper>