魏超 5 лет назад
Родитель
Сommit
65e3184805

+ 2
- 2
src/main/java/com/huiju/estateagents/controller/TaPersonVisitRecordController.java Просмотреть файл

@@ -317,9 +317,9 @@ public class TaPersonVisitRecordController extends BaseController {
317 317
 
318 318
         List<TaConsultantInfo> taConsultantInfos = result.getRecords();
319 319
         taConsultantInfos.forEach(e ->{
320
-            Integer activityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), 26, userId, CommConstant.POSTER_CONTENT_TYPE_ACTIVITY);
320
+            Integer activityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), getOrgId(request), userId, CommConstant.POSTER_CONTENT_TYPE_ACTIVITY);
321 321
             e.setActivityShareNum(activityNum);
322
-            Integer helpActivityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), 26, userId, CommConstant.POINTS_CHANGE_HELP);
322
+            Integer helpActivityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), getOrgId(request), userId, CommConstant.POINTS_CHANGE_HELP);
323 323
             e.setHelpActivityShareNum(helpActivityNum);
324 324
             Integer groupActivityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), getOrgId(request), userId, CommConstant.POINTS_CHANGE_GROUP);
325 325
             e.setGroupActivityShareNum(groupActivityNum);