diff --git a/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java b/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java index a05fd3ed..a1f226da 100644 --- a/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java +++ b/zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java @@ -867,7 +867,10 @@ public class DcEventServiceImpl extends ServiceImpl impl } } */ - + //桩号校验 + if (!com.ruoyi.common.utils.StakeMarkUtils.checkStakeMark(dcEvent.getStakeMark())) { + return -1; + } // 事件子类校验 for (EventSubclass value : EventSubclass.values()) { if (value.getDescription().equals(dcEvent.getEventSubclass())) {