admin
2020-05-12 2ec42a5aacea35d2918f0e17f07685cf5b4d25c8
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/TeamEincomeRecordMapper.java
@@ -3,14 +3,26 @@
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.money.TeamEincomeRecord;
public interface TeamEincomeRecordMapper extends BaseMapper<TeamEincomeRecord> {
   TeamEincomeRecord selectByUidAndPreRecieveTimeAndType(Long uid, Date preRecieveTime, int type);
   TeamEincomeRecord   selectByPrimaryKeyForUpdate(Long id);
   TeamEincomeRecord selectByUidAndPreRecieveTimeAndType(@Param("uid") Long uid,
         @Param("preRecieveTime") Date preRecieveTime, @Param("type") int type);
   List<TeamEincomeRecord> listByUidAndPreRecieveTimeAndState(Long uid, Date preRecieveTime, int state);
   TeamEincomeRecord selectByPrimaryKeyForUpdate(Long id);
   List<TeamEincomeRecord> listByUidAndPreRecieveTimeAndState(@Param("uid") Long uid,
         @Param("preRecieveTime") Date preRecieveTime, @Param("typeList") List<Integer> typeList,
         @Param("state") int state);
   public List<Long> listCanRecieveUid(@Param("preRecieveTime") Date preRecieveTime,
         @Param("typeList") List<Integer> typeList,@Param("start") long start,@Param("count")int count);
   public long countCanRecieveUid(@Param("preRecieveTime") Date preRecieveTime,
         @Param("typeList") List<Integer> typeList);
}