RiderWithdrawService.java 957 Bytes
package com.diligrp.rider.service;

import com.diligrp.rider.dto.RiderWithdrawApplyDTO;
import com.diligrp.rider.dto.WithdrawAuditDTO;
import com.diligrp.rider.dto.WithdrawMarkPaidDTO;
import com.diligrp.rider.vo.PageResultVO;
import com.diligrp.rider.vo.RiderWithdrawApplyVO;

public interface RiderWithdrawService {
    void apply(Long riderId, RiderWithdrawApplyDTO dto);

    PageResultVO<RiderWithdrawApplyVO> riderList(Long riderId, Integer status, int page);

    PageResultVO<RiderWithdrawApplyVO> adminList(Long cityId, Integer status, String keyword, String startDate, String endDate, int page);

    RiderWithdrawApplyVO adminDetail(Long id, Long cityId);

    void approve(Long id, WithdrawAuditDTO dto, Long cityId, Long adminId, String adminRole);

    void reject(Long id, WithdrawAuditDTO dto, Long cityId, Long adminId, String adminRole);

    void markPaid(Long id, WithdrawMarkPaidDTO dto, Long cityId, Long adminId, String adminRole);
}