package com.goafanti.common.dao;

import com.goafanti.common.model.UserFollow;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserFollowMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UserFollow record);

    int insertSelective(UserFollow record);

    UserFollow selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserFollow record);

    int updateByPrimaryKey(UserFollow record);


	int pushUserGuidance(@Param("id")String id, @Param("guidance")Integer guidance);

	List<UserFollow> selectByUidAndUid(@Param("uid")String uid, @Param("aid")String aid);


    Integer selectByaidAndDate(@Param("aid") String aid, @Param("startTime") String startTime, @Param("endTime") String endTime);
}
