admin
2020-05-06 24a8d17e007545f7426c48352109aa1a9c6587ee
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);
}