package com.yeshi.fanli.dao.mybatis; import java.util.List; import org.apache.ibatis.annotations.Param; import com.yeshi.fanli.entity.bus.user.ThreeSaleExtraInfo; public interface ThreeSaleExtraInfoMapper { int deleteByPrimaryKey(Long id); int insert(ThreeSaleExtraInfo record); int insertSelective(ThreeSaleExtraInfo record); ThreeSaleExtraInfo selectByPrimaryKey(Long id); int updateByPrimaryKeySelective(ThreeSaleExtraInfo record); int updateByPrimaryKey(ThreeSaleExtraInfo record); /** * 根据用户id、被邀请id 查询 * @param bossId * @param workerId * @return */ List listbyBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId); /** * 根据用户id、被邀请id删除 * @param bossId * @param workerId * @return */ int deleteByBossIdAndWorkerId(@Param("bossId") Long bossId, @Param("workerId") Long workerId); }