Prechádzať zdrojové kódy

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

ct 1 deň pred
rodič
commit
4a1119a045

+ 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) {
                 QwSopLogs qwSopLogs = stringQwSopLogsMap.get(item.getPeriodId());
                 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 {
                 item.setPeriodName("空营期");