Browse Source

APP关注BUG修复

anderx 8 years ago
parent
commit
06ff1bcf8c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/NewsInterestMapper.xml

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

@@ -275,8 +275,8 @@
     and new_id = #{objectId,jdbcType=VARCHAR}
   </delete>
   
-  <select id="countInterest" parameterType="Integer">
-  	select count(0) from demand_interest
+  <select id="countInterest" resultType="java.lang.Integer">
+  	select count(0) from news_interest
 	where 
   	uid = #{uid,jdbcType=VARCHAR}
   </select>