RiderWithdrawApplyMapper.java
1.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.diligrp.rider.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.diligrp.rider.entity.Rider;
import com.diligrp.rider.entity.RiderWithdrawApply;
import com.diligrp.rider.vo.RiderWithdrawApplyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
@Mapper
public interface RiderWithdrawApplyMapper extends BaseMapper<RiderWithdrawApply> {
Rider selectRiderForUpdate(@Param("riderId") Long riderId);
RiderWithdrawApply selectApplyForUpdate(@Param("id") Long id);
long countRiderList(@Param("riderId") Long riderId,
@Param("status") Integer status);
List<RiderWithdrawApplyVO> selectRiderList(@Param("riderId") Long riderId,
@Param("status") Integer status,
@Param("offset") int offset,
@Param("pageSize") int pageSize);
long countAdminList(@Param("cityId") Long cityId,
@Param("status") Integer status,
@Param("keyword") String keyword,
@Param("startTime") Long startTime,
@Param("endTime") Long endTime);
List<RiderWithdrawApplyVO> selectAdminList(@Param("cityId") Long cityId,
@Param("status") Integer status,
@Param("keyword") String keyword,
@Param("startTime") Long startTime,
@Param("endTime") Long endTime,
@Param("offset") int offset,
@Param("pageSize") int pageSize);
RiderWithdrawApplyVO selectAdminDetail(@Param("id") Long id,
@Param("cityId") Long cityId);
}