|
@@ -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");
|