魏超 5 年 前
コミット
65e3184805
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2
    2
      src/main/java/com/huiju/estateagents/controller/TaPersonVisitRecordController.java

+ 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);