|
@ -1172,6 +1172,9 @@ public class DcEventServiceImpl extends ServiceImpl<DcEventMapper, DcEvent> impl |
|
|
public DcEvent selectEventSubclassById(String id) { |
|
|
public DcEvent selectEventSubclassById(String id) { |
|
|
//
|
|
|
//
|
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(id); |
|
|
DcEvent dcEvent = dcEventMapper.selectDcEventById(id); |
|
|
|
|
|
if (dcEvent ==null){ |
|
|
|
|
|
return new DcEvent(); |
|
|
|
|
|
} |
|
|
int eventType = Math.toIntExact(dcEvent.getEventType()); |
|
|
int eventType = Math.toIntExact(dcEvent.getEventType()); |
|
|
List<DcProcessConfig> processConfigList = dcProcessConfigMapper.selectDcProcessConfigByEventType(Math.toIntExact(dcEvent.getEventType())); |
|
|
List<DcProcessConfig> processConfigList = dcProcessConfigMapper.selectDcProcessConfigByEventType(Math.toIntExact(dcEvent.getEventType())); |
|
|
dcEvent.setProcessConfigList(processConfigList); |
|
|
dcEvent.setProcessConfigList(processConfigList); |
|
|