rev 更新线程无法启动问题

This commit is contained in:
USER-20220102CG\noblelift
2023-11-28 20:29:29 +08:00
parent c8d804cb74
commit 7ca7031b9d
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import org.springframework.stereotype.Component;
@Component
@RequiredArgsConstructor
@Order(50)
@ConditionalOnProperty(value = "spring.profiles.active",havingValue = "prod")
//@ConditionalOnProperty(value = "spring.profiles.active",havingValue = "prod")
public class AcsInit implements ApplicationRunner {
private final ApplicationAutoInitialExecuter applicationAutoInitialExecuter;
private final WebAutoInitialExecuter webAutoInitialExecuter;

View File

@@ -34,7 +34,7 @@ public class ItemProtocol {
public int getOpcIntegerValue(String protocol) {
Integer value = this.driver.getIntegeregerValue(protocol);
if (value == null) {
log.error("读取错误!");
// log.error("读取错误!");
} else {
return value;
}

View File

@@ -51,7 +51,7 @@ public class ItemProtocol {
public int getOpcIntegerValue(String protocol) {
Integer value = this.driver.getIntegeregerValue(protocol);
if (value == null) {
log.error("读取错误!");
// log.error("读取错误!");
} else {
return value;
}