| | |
| | | import com.flightfeather.uav.common.utils.MapUtil |
| | | import com.flightfeather.uav.domain.entity.SceneInfo |
| | | import com.flightfeather.uav.domain.repository.SceneInfoRep |
| | | import org.springframework.web.context.ContextLoader |
| | | |
| | | /** |
| | | * 污染来源 |
| | |
| | | // 溯源企业 |
| | | var sceneList:List<SceneInfo?>? = null |
| | | |
| | | fun searchScenes(pollutedArea: PollutedArea, factor: FactorFilter.SelectedFactor) { |
| | | ContextLoader.getCurrentWebApplicationContext()?.getBean(SceneInfoRep::class.java)?.run { |
| | | searchScenes(pollutedArea, this, factor) |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 查找系统内部溯源范围内的污染企业 |
| | | */ |