Browse Source

事件修改桩号校验

develop
王兴琳 6 months ago
parent
commit
11255ef546
  1. 5
      zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

5
zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

@ -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())) {

Loading…
Cancel
Save