| | |
| | | import cn.flightfeather.supervision.lightshare.service.SearchService |
| | | import cn.flightfeather.supervision.lightshare.service.SubtaskService |
| | | import cn.flightfeather.supervision.lightshare.vo.* |
| | | import com.github.pagehelper.PageHelper |
| | | import org.springframework.beans.factory.annotation.Autowired |
| | | import org.springframework.beans.factory.annotation.Value |
| | | import org.springframework.stereotype.Service |
| | |
| | | }) |
| | | } |
| | | |
| | | override fun findBySceneId(sceneId: String, page: Int, pageSize: Int): Pair<DataHead, List<Evaluation>> { |
| | | val p = PageHelper.startPage<Evaluation>(page, pageSize) |
| | | val evaluationList = evaluationMapper.select(Evaluation().apply { this.sguid = sceneId }) |
| | | return DataHead(p) to evaluationList |
| | | } |
| | | |
| | | override fun autoEvaluate(areaVo: AreaVo): BgTaskStatus? { |
| | | //执行自动评估 |
| | | return aopTaskCtrl.startNewTask(areaVo) |