|
|
@ -18,6 +18,8 @@ import lombok.RequiredArgsConstructor; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* <p> |
|
|
|
* 地图核心主任务表 服务实现类 |
|
|
|
* 地图核心主任务表 服务实现类 |
|
|
@ -84,4 +86,14 @@ public class MapLogisticServiceImpl extends ServiceImpl<MapLogisticMapper, MapLo |
|
|
|
iMapLogisticPointService.saveBatch(mapLogistic.getMapLogisticPoint()); |
|
|
|
iMapLogisticPointService.saveBatch(mapLogistic.getMapLogisticPoint()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
|
|
public void mapRemove(List<String> mapLogisticIds) { |
|
|
|
|
|
|
|
super.removeByIds(mapLogisticIds); |
|
|
|
|
|
|
|
mapLogisticIds.forEach(mapLogisticId -> { |
|
|
|
|
|
|
|
iMapTaskService.remove(Wrappers.<MapTask>lambdaUpdate().eq(MapTask::getMapLogisticId, mapLogisticId)); |
|
|
|
|
|
|
|
iMapTaskPresetService.remove(Wrappers.<MapTaskPreset>lambdaUpdate().eq(MapTaskPreset::getMapLogisticId, mapLogisticId)); |
|
|
|
|
|
|
|
iMapLogisticPointService.remove(Wrappers.<MapLogisticPoint>lambdaUpdate().eq(MapLogisticPoint::getMapLogisticId, mapLogisticId)); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|