修复注入问题

This commit is contained in:
2026-01-08 15:14:32 +08:00
parent 010c96a06d
commit 806e438c8c
2 changed files with 1 additions and 3 deletions

View File

@@ -9,7 +9,6 @@ import com.fizz.business.service.ProStoppageService;
import com.fizz.business.domain.ProStoppage;
import com.kangaroohy.milo.model.ReadWriteEntity;
import com.kangaroohy.milo.service.MiloService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
@@ -30,7 +29,6 @@ import static com.fizz.business.service.manager.OpcMessageIdsManager.*;
@Slf4j
@Component
@AllArgsConstructor
@ConditionalOnProperty(prefix = "kangaroohy.milo", name = "enabled", havingValue = "true")
public class MessageReceiveSchedule extends BaseSchedule {

View File

@@ -372,7 +372,7 @@ public class SegmentTrackerService {
if (LogRateLimiter.shouldLog("TRACK:" + coilId, 5000)) {
log.info("焊缝位置匹配逻辑,当前焊缝长度{}", headPos);
logDataService.logInfo("MATMAP-TRACK", "CoilId=" + coilId + " ...");
logDataService.logInfo("MATMAP-TRACK", "CoilId=" + coilId + " 焊缝位置匹配逻辑,当前焊缝长度="+headPos);
}
Set<DeviceEnum> prevReached = coilReachedDevices.computeIfAbsent(coilId,