| | |
| | | package com.yeshi.fanli.dao.mybatis.user; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import com.yeshi.fanli.entity.bus.user.UserExtraTaoBaoInfo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | public interface UserExtraTaoBaoInfoMapper extends BaseMapper<UserExtraTaoBaoInfo> { |
| | | |
| | |
| | | * @return |
| | | */ |
| | | UserExtraTaoBaoInfo selectByUid(Long uid); |
| | | |
| | | |
| | | /** |
| | | * 根据淘宝UID查询 |
| | | * |
| | | * @param taoBaoUid |
| | | * @return |
| | | */ |
| | | UserExtraTaoBaoInfo selectByTaoBaoUid(String taoBaoUid); |
| | | |
| | | UserExtraTaoBaoInfo selectByTaoBaoUid(@Param("taoBaoUid") String taoBaoUid,@Param("system") SystemEnum system); |
| | | |
| | | /** |
| | | * 清除用户ID |
| | | * |
| | | * @param uid |
| | | * @return |
| | | */ |
| | | int clearUid(Long uid); |
| | | |
| | | /** |
| | | * 通过渠道ID查询 |
| | | * |
| | | * @param relationId |
| | | * @return |
| | | */ |
| | | UserExtraTaoBaoInfo selectByRelationIdWithUidNotNull(@Param("relationId") String relationId,@Param("systemList") List<SystemEnum> systemList); |
| | | |
| | | /** |
| | | * 通过会员运营ID查询 |
| | | * |
| | | * @param specialId |
| | | * @return |
| | | */ |
| | | List<UserExtraTaoBaoInfo> selectBySpecialIdWithUidNotNull(@Param("specialId") String specialId,@Param("systemList") List<SystemEnum> systemList); |
| | | |
| | | /** |
| | | * 统计正在使用的该淘宝的用户 |
| | | */ |
| | | List<UserExtraTaoBaoInfo> listByTaoBaoUid(@Param("taoBaoUid") String taoBaoUid,@Param("system") SystemEnum system); |
| | | |
| | | |
| | | |
| | | } |