package com.securitycontrol.screen.service.impl;

import com.securitycontrol.entity.screen.dto.ConstructionQualityDto;
import com.securitycontrol.entity.screen.dto.OperatingQualityDto;
import com.securitycontrol.entity.screen.dto.PersonnelControlDto;
import com.securitycontrol.entity.screen.vo.ConstructionQualityVo;
import com.securitycontrol.entity.screen.vo.OperatingQualityVo;
import com.securitycontrol.entity.screen.vo.PersonnelControlVo;
import com.securitycontrol.screen.mapper.OperatingMapper;
import com.securitycontrol.screen.mapper.PersonnelControlMapper;
import com.securitycontrol.screen.service.OperatingService;
import com.securitycontrol.screen.service.PersonnelControlService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Lenovo
 */
@Slf4j
@Service(value = "PersonnelControlService")
public class PersonnelControlImpl implements PersonnelControlService {

    @Resource(name = "PersonnelControlMapper")
    private PersonnelControlMapper mapper;


    /**
     * 人员管控-穿戴装备
     *
     * @param dto
     * @return AjaxResult
     * @description
     * @author jjLV
     * @date 2024/3/27 17:23
     */
    @Override
    public List<PersonnelControlVo> getWearEquipmentList(PersonnelControlDto dto) {
        return mapper.getWearEquipmentList(dto);
    }

    /**
     * 人员管控-人员列表
     *
     * @param dto
     * @return AjaxResult
     * @description
     * @author jjLV
     * @date 2024/3/27 17:23
     */
    @Override
    public List<PersonnelControlVo> getPersonnelList(PersonnelControlDto dto) {
        return mapper.getPersonnelList(dto);
    }

    /**
     * 人员管控-人员运动趋预警
     *
     * @param dto
     * @return AjaxResult
     * @description
     * @author jjLV
     * @date 2024/3/27 17:23
     */
    @Override
    public List<PersonnelControlVo> getPersonnelMovementList(PersonnelControlDto dto) {
        return mapper.getPersonnelMovementList(dto);
    }
}
