package com.xueyi.system.staff.mapper;

import com.xueyi.system.api.staff.domain.dto.DmStaffDto;
import com.xueyi.system.api.staff.domain.po.DmStaffPo;
import com.xueyi.system.staff.domain.query.DmStaffQuery;
import com.xueyi.common.web.entity.mapper.BaseMapper;
import com.xueyi.common.datasource.annotation.Isolate;
import com.xueyi.system.api.staff.domain.vo.DmStaffFeature;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 人员管理 数据层
 *
 * @author xueyi
 */
@Isolate
public interface DmStaffMapper extends BaseMapper<DmStaffQuery, DmStaffDto, DmStaffPo> {
    public List<DmStaffPo> selectStaffList(DmStaffPo staff);

    public List<DmStaffFeature> selectStaffFeaturesList(@Param("devId")String devId,@Param("timestamp") String timestamp);
    public List<DmStaffFeature> selectVisitorFeaturesList(@Param("devId")String devId,@Param("timestamp") String timestamp);
}