| | |
| | | package com.ycl.platform.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ycl.platform.domain.entity.CheckIndexFace; |
| | | import com.ycl.platform.domain.result.HK.SnapshotDataMonitorResult; |
| | | import com.ycl.platform.domain.query.DashboardQuery; |
| | | import com.ycl.platform.mapper.CheckIndexFaceMapper; |
| | | import com.ycl.platform.service.ICheckIndexFaceService; |
| | | import com.ycl.platform.service.ITMonitorService; |
| | | import com.ycl.system.mapper.SysConfigMapper; |
| | | import com.ycl.system.mapper.SysDeptMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import utils.DateUtils; |
| | |
| | | * @date 2024-04-29 |
| | | */ |
| | | @Service |
| | | public class CheckIndexFaceServiceImpl implements ICheckIndexFaceService { |
| | | public class CheckIndexFaceServiceImpl extends ServiceImpl<CheckIndexFaceMapper, CheckIndexFace> implements ICheckIndexFaceService { |
| | | @Autowired |
| | | private CheckIndexFaceMapper checkIndexFaceMapper; |
| | | |
| | | @Autowired |
| | | private SysConfigMapper sysConfigMapper; |
| | | @Autowired |
| | | private ITMonitorService monitorService; |
| | | @Autowired |
| | | private SysDeptMapper deptMapper; |
| | | /** |
| | | * 查询人脸指标概率数据 |
| | | * |
| | |
| | | return checkIndexFaceMapper.deleteCheckIndexFaceById(id); |
| | | } |
| | | |
| | | /** |
| | | * 计算人脸点位在线率 |
| | | * |
| | | * @param list |
| | | */ |
| | | @Override |
| | | public void siteOnline(List<SnapshotDataMonitorResult> list) { |
| | | |
| | | public CheckIndexFace dashboard(DashboardQuery dashboardQuery) { |
| | | return checkIndexFaceMapper.dashboard(dashboardQuery); |
| | | } |
| | | } |