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.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; import java.util.List; /** * 人脸指标概率数据Service业务层处理 * * @author ruoyi * @date 2024-04-29 */ @Service public class CheckIndexFaceServiceImpl extends ServiceImpl implements ICheckIndexFaceService { @Autowired private CheckIndexFaceMapper checkIndexFaceMapper; @Autowired private SysConfigMapper sysConfigMapper; @Autowired private ITMonitorService monitorService; @Autowired private SysDeptMapper deptMapper; /** * 查询人脸指标概率数据 * * @param id 人脸指标概率数据主键 * @return 人脸指标概率数据 */ @Override public CheckIndexFace selectCheckIndexFaceById(Long id) { return checkIndexFaceMapper.selectCheckIndexFaceById(id); } /** * 查询人脸指标概率数据列表 * * @param checkIndexFace 人脸指标概率数据 * @return 人脸指标概率数据 */ @Override public List selectCheckIndexFaceList(CheckIndexFace checkIndexFace) { return checkIndexFaceMapper.selectCheckIndexFaceList(checkIndexFace); } /** * 新增人脸指标概率数据 * * @param checkIndexFace 人脸指标概率数据 * @return 结果 */ @Override public int insertCheckIndexFace(CheckIndexFace checkIndexFace) { checkIndexFace.setCreateTime(DateUtils.getNowDate()); return checkIndexFaceMapper.insertCheckIndexFace(checkIndexFace); } /** * 修改人脸指标概率数据 * * @param checkIndexFace 人脸指标概率数据 * @return 结果 */ @Override public int updateCheckIndexFace(CheckIndexFace checkIndexFace) { return checkIndexFaceMapper.updateCheckIndexFace(checkIndexFace); } /** * 批量删除人脸指标概率数据 * * @param ids 需要删除的人脸指标概率数据主键 * @return 结果 */ @Override public int deleteCheckIndexFaceByIds(Long[] ids) { return checkIndexFaceMapper.deleteCheckIndexFaceByIds(ids); } /** * 删除人脸指标概率数据信息 * * @param id 人脸指标概率数据主键 * @return 结果 */ @Override public int deleteCheckIndexFaceById(Long id) { return checkIndexFaceMapper.deleteCheckIndexFaceById(id); } @Override public CheckIndexFace dashboard(DashboardQuery dashboardQuery) { return checkIndexFaceMapper.dashboard(dashboardQuery); } }