魏超 5 lat temu
rodzic
commit
65e3184805

+ 2
- 2
src/main/java/com/huiju/estateagents/controller/TaPersonVisitRecordController.java Wyświetl plik

317
 
317
 
318
         List<TaConsultantInfo> taConsultantInfos = result.getRecords();
318
         List<TaConsultantInfo> taConsultantInfos = result.getRecords();
319
         taConsultantInfos.forEach(e ->{
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
             e.setActivityShareNum(activityNum);
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
             e.setHelpActivityShareNum(helpActivityNum);
323
             e.setHelpActivityShareNum(helpActivityNum);
324
             Integer groupActivityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), getOrgId(request), userId, CommConstant.POINTS_CHANGE_GROUP);
324
             Integer groupActivityNum = iTaPersonVisitRecordService.countShareNumByEventType(e.getTargetId(), getOrgId(request), userId, CommConstant.POINTS_CHANGE_GROUP);
325
             e.setGroupActivityShareNum(groupActivityNum);
325
             e.setGroupActivityShareNum(groupActivityNum);