فهرست منبع

fix:完播统计导出sop营期名称修改

ct 1 روز پیش
والد
کامیت
4a1119a045
1فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 1
      fs-service/src/main/java/com/fs/statis/service/impl/FsStatisSalerWatchServiceImpl.java

+ 6 - 1
fs-service/src/main/java/com/fs/statis/service/impl/FsStatisSalerWatchServiceImpl.java

@@ -253,7 +253,12 @@ public class FsStatisSalerWatchServiceImpl implements FsStatisSalerWatchService
             if(item.getPeriodId() != null) {
             if(item.getPeriodId() != null) {
                 QwSopLogs qwSopLogs = stringQwSopLogsMap.get(item.getPeriodId());
                 QwSopLogs qwSopLogs = stringQwSopLogsMap.get(item.getPeriodId());
                 if(qwSopLogs != null) {
                 if(qwSopLogs != null) {
-                    item.setPeriodName(qwSopLogs.getSopTitle());
+                    String qwSopLogNameBySopId = qwSopCacheService.getQwSopLogNameBySopId(item.getPeriodId());
+                    if(StringUtils.isNotEmpty(qwSopLogNameBySopId)) {
+                        item.setPeriodName(qwSopLogNameBySopId);
+                    } else {
+                        item.setPeriodName(qwSopLogs.getSopTitle());
+                    }
                 }
                 }
             } else {
             } else {
                 item.setPeriodName("空营期");
                 item.setPeriodName("空营期");