#
Junjie
昨天 3adcbff31fdece77269744c8741f237e7a57348e
src/main/java/com/zy/core/trace/StationTaskTraceRegistry.java
@@ -259,7 +259,7 @@
    }
    private boolean isStationTraceActiveWrkStatus(Long wrkSts) {
        return Objects.equals(wrkSts, WrkStsType.INBOUND_DEVICE_RUN.sts)
        return Objects.equals(wrkSts, WrkStsType.INBOUND_STATION_RUN.sts)
                || Objects.equals(wrkSts, WrkStsType.STATION_RUN.sts);
    }
@@ -642,7 +642,7 @@
                    && !loopAlertText.trim().isEmpty();
            String nextType = active ? loopAlertType : null;
            String nextText = active ? loopAlertText.trim() : null;
            Integer nextCount = active ? loopAlertCount : null;
            Integer nextCount = loopAlertCount != null && loopAlertCount > 0 ? loopAlertCount : null;
            boolean changed = !Objects.equals(this.loopAlertActive, active)
                    || !Objects.equals(this.loopAlertType, nextType)
                    || !Objects.equals(this.loopAlertText, nextText)
@@ -810,13 +810,15 @@
        }
        private void appendLoopHintDetails(Map<String, Object> details) {
            if (details == null || !Boolean.TRUE.equals(this.loopAlertActive) || this.loopAlertCount == null || this.loopAlertCount <= 2) {
            if (details == null || this.loopAlertCount == null || this.loopAlertCount <= 0) {
                return;
            }
            details.put("loopAlertActive", Boolean.TRUE);
            details.put("loopAlertType", this.loopAlertType);
            details.put("loopAlertText", this.loopAlertText);
            details.put("loopAlertCount", this.loopAlertCount);
            if (Boolean.TRUE.equals(this.loopAlertActive)) {
                details.put("loopAlertActive", Boolean.TRUE);
                details.put("loopAlertType", this.loopAlertType);
                details.put("loopAlertText", this.loopAlertText);
            }
        }
        private boolean acceptTraceVersion(Integer incomingTraceVersion) {