package com.gic.haoban.manage.service.dao.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.gic.haoban.manage.service.entity.TabExternalMemberLog;

/**
 * 
 * @ClassName: TabHaobanExternalMemberLogMapper
 * @Description: TODO
 * @Author 徐高华
 * @Date 2023年04月04日 10:19:47
 * @Modify
 * @CopyRight 
 */
public interface ExternalMemberLogMapper {

    public int insert(TabExternalMemberLog log);

    public int updateStatus(@Param("enterpriseId") String enterpriseId,  @Param("id")long id,
            @Param("statusFlag") int statusFlag);

    public TabExternalMemberLog selectRelationKey(@Param("enterpriseId") String enterpriseId,
            @Param("relationKey") String relationKey);
    
    public List<TabExternalMemberLog> listForTimer(@Param("start")Date start , @Param("end")Date end) ;

}