|
@@ -74,6 +74,7 @@ public class IncidentTaskServiceImpl extends ServicePlusImpl<IncidentTaskMapper,
|
|
incidentTaskCommandService.remove(Wrappers.<IncidentTaskCommand>lambdaQuery().eq(IncidentTaskCommand::getIncidentTaskId, bo.getId()));
|
|
incidentTaskCommandService.remove(Wrappers.<IncidentTaskCommand>lambdaQuery().eq(IncidentTaskCommand::getIncidentTaskId, bo.getId()));
|
|
}
|
|
}
|
|
IncidentTask add = BeanUtil.toBean(bo, IncidentTask.class);
|
|
IncidentTask add = BeanUtil.toBean(bo, IncidentTask.class);
|
|
|
|
+ add.setId(null);
|
|
save(add);
|
|
save(add);
|
|
// 新增指令和人员
|
|
// 新增指令和人员
|
|
if (bo.getIncidentTaskCommands() != null) {
|
|
if (bo.getIncidentTaskCommands() != null) {
|