|
@@ -299,7 +299,7 @@ public class SocialController extends BaseController {
|
299
|
299
|
|
300
|
300
|
@ApiOperation(value = "获取所有的二手租赁帖子", notes = "获取所有的二手租赁帖子")
|
301
|
301
|
@ApiImplicitParams({@ApiImplicitParam(paramType = "path", dataType = "integer", name = "communityId", value = "小区Id"),
|
302
|
|
- @ApiImplicitParam(paramType = "query", dataType = "String", name = "type", value = "帖子类型"),
|
|
302
|
+ @ApiImplicitParam(paramType = "query", dataType = "String", name = "type", value = "帖子类型0 代表 议事大厅 1 是邻里互助 2 是二手/租赁 3 是其他话题"),
|
303
|
303
|
@ApiImplicitParam(paramType = "query", dataType = "String", name = "transactionTitle", value = "帖子标题"),
|
304
|
304
|
@ApiImplicitParam(paramType = "query", dataType = "integer", name = "pageNum", value = "分页第几页"),
|
305
|
305
|
@ApiImplicitParam(paramType = "query", dataType = "integer", name = "pageSize", value = "分页每页长度")}
|
|
@@ -369,7 +369,7 @@ public class SocialController extends BaseController {
|
369
|
369
|
ResponseBean responseBean = new ResponseBean();
|
370
|
370
|
UserElement userElement = (UserElement) session.getAttribute(Constant.APP_USER_SESSION);
|
371
|
371
|
Integer userId = userElement.getId();
|
372
|
|
- ResponseBean response = socialServiceI.selectAllTransaction(userId, pageNum, pageSize,type);
|
|
372
|
+ ResponseBean response = socialServiceI.selectAllTransaction(userId, pageNum, pageSize,type,userElement.getCommunityId());
|
373
|
373
|
return response;
|
374
|
374
|
}
|
375
|
375
|
|