| | |
| | | |
| | | @Slf4j |
| | | @Component("checkScoreTask") |
| | | //TODO:增加考核标签字典:公安部 |
| | | //TODO:修改点位状态字典:在线、离线 |
| | | //TODO:修改score、index默认发布 |
| | | public class CheckScoreTask { |
| | | @Autowired |
| | |
| | | private CheckIndexFaceMapper faceMapper; |
| | | @Autowired |
| | | private CheckIndexCarMapper carMapper; |
| | | |
| | | //公安部只有视频考核 |
| | | public void executeTemplate(Integer templateId) { |
| | | CheckTemplate checkTemplate = templateMapper.selectCheckTemplateById(templateId); |
| | | if (checkTemplate != null) { |
| | |
| | | } |
| | | } |
| | | //储存分数 |
| | | if(!CollectionUtils.isEmpty(scoreList)) { |
| | | if (!CollectionUtils.isEmpty(scoreList)) { |
| | | scoreMapper.saveBatch(scoreList); |
| | | } |
| | | } |