| | |
| | | package com.yeshi.fanli.dao.mybatis.share;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.entity.bus.invite.SpreadImg;
|
| | | import com.yeshi.fanli.entity.taobao.PidUser;
|
| | | import com.yeshi.fanli.entity.taobao.ShareTaoPassword;
|
| | |
|
| | | public interface ShareMapper {
|
| | |
|
| | | String getRandomPid();
|
| | |
|
| | | void insertShareTaoPassword(ShareTaoPassword shareTaoPassword);
|
| | |
|
| | | void updatePidUsed(String pid);
|
| | |
|
| | | String idBind(long uid);
|
| | |
|
| | | void insertPidUser(PidUser pidUser);
|
| | |
|
| | | int getAunctionPidCount(@Param("auctionId")long auctionId, @Param("pid")String pid);
|
| | |
|
| | | ShareTaoPassword getShareTaoPassword(@Param("auctionId")long auctionId, @Param("pid")String pid);
|
| | |
|
| | | void updateByPrimaryKeySelective(ShareTaoPassword shareTaoPassword);
|
| | |
|
| | | int myFirstTeamCount(String uid);
|
| | |
|
| | | int mySecondTeamCount(String uid);
|
| | |
|
| | | BigDecimal getMoneyToday(String uid);
|
| | |
|
| | | BigDecimal getMoneyMonth(String uid);
|
| | | |
| | | BigDecimal getMoneyLastMonth(String uid);
|
| | |
|
| | | Integer spreadImgCount();
|
| | |
|
| | | List<SpreadImg> spreadImgList(@Param("start") int start, @Param("count") int count);
|
| | |
|
| | | String getPortrait(Long uid);
|
| | |
|
| | | int getCount(long uid);
|
| | |
|
| | | int getInviteCount(long uid);
|
| | |
|
| | | void updateInviteRank(BigDecimal bigDecimalMoney);
|
| | |
|
| | | int getShareMoneyCount();
|
| | |
|
| | | List<String> systemSpreadImgList();
|
| | |
|
| | | int getCounts(String key);
|
| | |
|
| | | String getActivityRules(String key);
|
| | |
|
| | | void editActivityRules(@Param("value")String value, @Param("key")String key);
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.dao.mybatis.share; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.entity.bus.invite.SpreadImg; |
| | | import com.yeshi.fanli.entity.taobao.PidUser; |
| | | import com.yeshi.fanli.entity.taobao.ShareTaoPassword; |
| | | |
| | | public interface ShareMapper { |
| | | |
| | | String getRandomPid(); |
| | | |
| | | void insertShareTaoPassword(ShareTaoPassword shareTaoPassword); |
| | | |
| | | void updatePidUsed(String pid); |
| | | |
| | | String idBind(long uid); |
| | | |
| | | void insertPidUser(PidUser pidUser); |
| | | |
| | | int getAunctionPidCount(@Param("auctionId")long auctionId, @Param("pid")String pid); |
| | | |
| | | ShareTaoPassword getShareTaoPassword(@Param("auctionId")long auctionId, @Param("pid")String pid); |
| | | |
| | | void updateByPrimaryKeySelective(ShareTaoPassword shareTaoPassword); |
| | | |
| | | int myFirstTeamCount(String uid); |
| | | |
| | | int mySecondTeamCount(String uid); |
| | | |
| | | BigDecimal getMoneyToday(String uid); |
| | | |
| | | BigDecimal getMoneyMonth(String uid); |
| | | |
| | | BigDecimal getMoneyLastMonth(String uid); |
| | | |
| | | Integer spreadImgCount(); |
| | | |
| | | List<SpreadImg> spreadImgList(@Param("start") int start, @Param("count") int count); |
| | | |
| | | String getPortrait(Long uid); |
| | | |
| | | int getCount(long uid); |
| | | |
| | | int getInviteCount(long uid); |
| | | |
| | | void updateInviteRank(BigDecimal bigDecimalMoney); |
| | | |
| | | int getShareMoneyCount(); |
| | | |
| | | List<String> systemSpreadImgList(); |
| | | |
| | | int getCounts(String key); |
| | | |
| | | String getActivityRules(String key); |
| | | |
| | | void editActivityRules(@Param("value")String value, @Param("key")String key); |
| | | |
| | | } |