@ -867,7 +867,10 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
}
*/
//桩号校验
if (!com.ruoyi.common.utils.StakeMarkUtils.checkStakeMark(dcEvent.getStakeMark())) {
return -1;
// 事件子类校验
for (EventSubclass value : EventSubclass.values()) {
if (value.getDescription().equals(dcEvent.getEventSubclass())) {