| | |
| | | package cn.flightfeather.thirdapp.repository |
| | | |
| | | import cn.flightfeather.thirdapp.bean.Monitorobjectversion |
| | | import cn.flightfeather.thirdapp.bean.Scense |
| | | import cn.flightfeather.thirdapp.bean.Subtask |
| | | import cn.flightfeather.thirdapp.bean.Task |
| | | import cn.flightfeather.thirdapp.bean.entity.Monitorobjectversion |
| | | import cn.flightfeather.thirdapp.bean.entity.Scense |
| | | import cn.flightfeather.thirdapp.bean.entity.Subtask |
| | | import cn.flightfeather.thirdapp.bean.entity.Task |
| | | import cn.flightfeather.thirdapp.bean.vo.TaskVo |
| | | import cn.flightfeather.thirdapp.common.net.ResponseBodyCallBack |
| | | import cn.flightfeather.thirdapp.common.net.ResultCallBack |
| | |
| | | val resultList = ArrayList<Scense>() |
| | | val tempList = sceneDao.getSceneByArea(taskVo.provincecode, taskVo.citycode, taskVo.districtcode) |
| | | movList.forEach {m -> |
| | | tempList.forEach s@ {s -> |
| | | for (s in tempList) { |
| | | if (s.guid == m.sguid) { |
| | | s.monitorNum = m.monitornum |
| | | s.inspectedNum = m.extension1?.toInt() ?: 0 |
| | | resultList.add(s) |
| | | return@s |
| | | break |
| | | } |
| | | } |
| | | } |