admin
2025-02-25 30d8e227e8d823b6c38c3b9c90ac2df03b63befe
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/money/TeamEincomeRecordMapper.java
@@ -1,5 +1,6 @@
package com.yeshi.fanli.dao.mybatis.money;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
@@ -12,9 +13,32 @@
   TeamEincomeRecord selectByUidAndPreRecieveTimeAndType(@Param("uid") Long uid,
         @Param("preRecieveTime") Date preRecieveTime, @Param("type") int type);
   TeamEincomeRecord selectByUidAndPreRecieveTimeAndTypeAndSourceType(@Param("uid") Long uid,
         @Param("preRecieveTime") Date preRecieveTime, @Param("type") int type, @Param("sourceType") Integer sourceType);
   TeamEincomeRecord selectByPrimaryKeyForUpdate(Long id);
   List<TeamEincomeRecord> listByUidAndPreRecieveTimeAndState(@Param("uid") Long uid,
         @Param("preRecieveTime") Date preRecieveTime, @Param("state") int state);
         @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);
   /**
    * 统计类型已领取金额
    * @param uid
    * @param type
    * @return
    */
   BigDecimal sumRecieveByType(@Param("uid") Long uid,@Param("type") int type);
}