ting.yin 2 tahun lalu
induk
melakukan
645c656715

+ 1 - 1
stmms-biz/src/main/java/cn/com/qmth/stmms/biz/mark/service/Impl/MarkCronService.java

@@ -297,7 +297,7 @@ public class MarkCronService {
     @Scheduled(fixedDelay = 30 * 60 * 1000, initialDelay = 2 * 60 * 1000)
     public void updateReport() {
         String systemConfig = systemConfigService.findByType(ConfigType.AUTO_REPORT);
-        if (systemConfig == null || systemConfig != "on") {
+        if (systemConfig == null || !systemConfig.equalsIgnoreCase("on")) {
             return;
         }
         log.info("start auto-update report");