package com.zhongshu.card.server.core.dao.pay.extend;

import com.zhongshu.card.client.model.pay.WithdrawPageParam;
import com.zhongshu.card.client.type.AuditStatus;
import com.zhongshu.card.client.type.WithdrawStatus;
import com.zhongshu.card.client.type.paySetting.WithdrawMethodType;
import com.zhongshu.card.server.core.domain.pay.WithdrawOrder;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface WithdrawOrderDaoExtend {

    Page<WithdrawOrder> page(Pageable pageable, String projectOid, String oid, Long startTime, Long endTime, String search, AuditStatus auditStatus, WithdrawMethodType withdrawMethodType);

    boolean updateWithdrawStatus(String id, WithdrawStatus status, String withdrawStatusDesc);
}
