| | |
| | | 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<ThreeSaleExtraInfo> 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); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.bus.user.ThreeSaleExtraInfo;
|
| | |
|
| | | public interface ThreeSaleExtraInfoMapper extends BaseMapper<ThreeSaleExtraInfo>{
|
| | |
|
| | | |
| | | /**
|
| | | * 根据用户id、被邀请id 查询
|
| | | * @param bossId
|
| | | * @param workerId
|
| | | * @return
|
| | | */
|
| | | ThreeSaleExtraInfo getbyBossIdAndWorkerId(@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);
|
| | | |
| | | } |