| | |
| | | package cn.flightfeather.supervision.business.autooutput.score |
| | | |
| | | import cn.flightfeather.supervision.business.autooutput.datasource.AopDataConfig |
| | | import cn.flightfeather.supervision.common.exception.ResponseErrorException |
| | | import cn.flightfeather.supervision.common.utils.Constant |
| | | import cn.flightfeather.supervision.domain.ds1.repository.EvaluationRep |
| | | import cn.flightfeather.supervision.domain.ds2.entity.UserinfoTZ |
| | |
| | | ) { |
| | | |
| | | fun execute(config: AopDataConfig) { |
| | | if (config.year == null || config.month == null) throw IllegalStateException("环信码评估时必须传递时间条件!") |
| | | if (config.year == null || config.month == null) throw ResponseErrorException("环信码评估时必须传递时间条件!") |
| | | // 找到飞羽环境中需要生成环信码的所有站点 |
| | | val sceneType = Constant.SceneType.getByValue(config.sceneType.toString()) |
| | | val userList = findUsers(config.districtName, sceneType) |