Browse Source

e级评级优化

xw 1 day ago
parent
commit
455a3948c8

+ 5 - 0
fs-qw-task/src/main/java/com/fs/app/taskService/impl/QwExternalContactRatingServiceImpl.java

@@ -212,6 +212,11 @@ public class QwExternalContactRatingServiceImpl implements QwExternalContactRati
                 return null;
             }
 
+            if (Integer.valueOf(1).equals(logsInfo.getIsDaysNotStudy())) {
+                log.info("连续未看课客户跳过ABCD评级,externalId: {}", externalId);
+                return null;
+            }
+
             // 查询ABCD评级看课记录
             List<QwRatingVO> ratingVOS = fsCourseWatchLogMapper
                     .selectFsCourseWatchLogByExtIdRatingWithTransfer(externalId, config.getLevelDay());

+ 5 - 0
fs-service/src/main/java/com/fs/sop/service/impl/SopUserLogsServiceImpl.java

@@ -964,6 +964,11 @@ public class SopUserLogsServiceImpl implements ISopUserLogsService {
                         Long externalId = logsInfo.getExternalId();
                         if (externalId != null) {
 
+                            if (Integer.valueOf(1).equals(logsInfo.getIsDaysNotStudy())) {
+                                log.info("连续未看课客户跳过ABCD评级,externalId: {}", externalId);
+                                return;
+                            }
+
                             // 查询看课记录
                             List<QwRatingVO> ratingVOS = fsCourseWatchLogMapper
                                     .selectFsCourseWatchLogByExtIdRatingWithTransfer(externalId, config.getLevelDay());