| | |
| | | package com.yeshi.makemoney.app.dao.team; |
| | | |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | import java.util.Date; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import org.yeshi.utils.mybatis.BaseMapper; |
| | |
| | | @Repository |
| | | public interface TeamInviteRelationMapper extends BaseMapper<TeamInviteRelation> { |
| | | |
| | | TeamInviteRelation selectByPrimaryKeyForUpdate(@Param("id") java.lang.Long id); |
| | | TeamInviteRelation selectByPrimaryKeyForUpdate(@Param("id") java.lang.Long id); |
| | | |
| | | List<TeamInviteRelation> list(@Param("query") DaoQuery query); |
| | | List<TeamInviteRelation> list(@Param("query") DaoQuery query); |
| | | |
| | | long count(@Param("query") DaoQuery query); |
| | | long count(@Param("query") DaoQuery query); |
| | | |
| | | public static class DaoQuery{ |
| | | List<TeamInviteRelation> listSecondTeam(@Param("uid") Long uid, @Param("start") long start, @Param("count") int count); |
| | | |
| | | long countSecondTeam(@Param("uid") Long uid); |
| | | |
| | | |
| | | public static class DaoQuery { |
| | | public Long uid; |
| | | public Long targetUid; |
| | | //tuid 表示 值为uid或targetUid |
| | | public Long tuid; |
| | | public Integer state; |
| | | public Date maxCreateTime; |
| | | public Date minCreateTime; |
| | | public long start; |
| | | public int count; |
| | | public List<String> sortList; |
| | | } |
| | | } |
| | | |
| | | } |