dingxin 6 年 前
コミット
14accc233c

+ 1
- 1
CODE/smart-community/app-api/src/main/java/com/community/huiju/dao/TpCarouselSettingMapper.java ファイルの表示

@@ -17,7 +17,7 @@ public interface TpCarouselSettingMapper {
17 17
 
18 18
     int updateByPrimaryKey(TpCarouselSetting record);
19 19
 
20
-     int getcarouselNum(String lease);
20
+     Integer getcarouselNum(String lease);
21 21
 
22 22
     Integer selectCarouselNum(String carouselType);
23 23
 

+ 2
- 2
CODE/smart-community/app-api/src/main/resources/mapper/TpActivityMapper.xml ファイルの表示

@@ -272,10 +272,10 @@
272 272
 	  a.create_date DESC
273 273
   </select>
274 274
 
275
-  <select id="getActivity" resultMap="BaseResultMap" parameterType="com.community.huiju.model.TpActivity">
275
+  <select id="getActivity" resultMap="BaseResultMap">
276 276
     select
277 277
     <include refid="Base_Column_List" />
278 278
     from tp_activity
279
-    where community_id = #{communityId,jdbcType=INTEGER}  and status=1 limit  #{sum,jdbcType=INTEGER}
279
+    where community_id = #{communityId,jdbcType=INTEGER}  and status=1 limit  #{num,jdbcType=INTEGER}
280 280
   </select>
281 281
 </mapper>