Browse Source

事件 插入修改

develop
王兴琳 7 months ago
parent
commit
429ac1c673
  1. 3
      zc-business/src/main/java/com/zc/business/service/impl/DcEventServiceImpl.java

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

@ -196,7 +196,8 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl
}
if (i7 > 0) {
if (dcEvent.getDcEventTrafficControl().getFacilityIds().length<1 &&dcEventId == null){//非 事件处置 和收费站等多条数据添加
//if (dcEvent.getDcEventTrafficControl().getFacilityIds().length<1 &&dcEventId == null){//非 事件处置 和收费站等多条数据添加
if (eventType !=3 &&dcEventId == null){//非 事件处置 和收费站等多条数据添加
//中间库
MdEvent mdEvent = new MdEvent(dcEvent);
middleDatabaseService.insertMiddleDatabaseEvent(mdEvent);

Loading…
Cancel
Save