| | |
| | | package cn.flightfeather.supervision.lightshare.service |
| | | |
| | | import cn.flightfeather.supervision.domain.ds1.entity.Itemevaluation |
| | | import cn.flightfeather.supervision.lightshare.vo.ItemevaluationVo |
| | | import cn.flightfeather.supervision.lightshare.vo.AreaVo |
| | | import cn.flightfeather.supervision.lightshare.vo.EvaluationUpdateVo |
| | | import cn.flightfeather.supervision.lightshare.vo.ItemEvaluationVo |
| | | |
| | | |
| | | interface ItemevaluationService { |
| | |
| | | |
| | | fun delete(id: String): Int |
| | | |
| | | fun findBySubTaskID(subTaskID: String): List<ItemevaluationVo> |
| | | fun findBySubTaskID(subTaskID: String): List<ItemEvaluationVo> |
| | | |
| | | fun savelist(itemevaluationlist: List<Itemevaluation>): Int |
| | | |
| | | /** |
| | | * 新增一个巡查任务的对应评分 |
| | | * @param subTaskId 巡查任务id |
| | | * @param ruleId 使用的评估规则id |
| | | */ |
| | | fun createItemEvaluation(subTaskId: String, ruleId: String?, itemList: List<String>): Boolean |
| | | |
| | | fun updateItemEvaluation(subTaskId: String, ruleId: String?, itemList: List<String>): Boolean |
| | | |
| | | fun updateMonitorDataEva(evaVo: EvaluationUpdateVo): Boolean |
| | | } |