pjb
8 天以前 29e052a5f969a38603370b1fb597a87d61fe1bf3
src/main/java/com/zy/service/impl/BasDevpErrLogServiceImpl.java
@@ -22,4 +22,14 @@
        }
    }
    @Override
    public BasDevpErrLog findLatest(Integer sourceStaNo) {
        List<BasDevpErrLog> basErrLogs = this.baseMapper.selectList(new EntityWrapper<BasDevpErrLog>().eq("source_sta_no", sourceStaNo).orderBy("start_time", false));
        if (basErrLogs == null || basErrLogs.size() == 0) {
            return null;
        } else {
            return basErrLogs.get(0);
        }
    }
}