huliguo
2 天以前 5d7b65670282a4fad015e37d567cfa171b162052
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
package com.ruoyi.errand.mapper;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.errand.domain.AppUser;
import com.ruoyi.errand.object.dto.sys.AppUserPageListDTO;
import com.ruoyi.errand.object.vo.app.AppUserInfoVO;
import com.ruoyi.errand.object.vo.app.OrderPageVO;
import com.ruoyi.errand.object.vo.sys.AppUserPageListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
 
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
 
@Mapper
public interface AppUserMapper extends BaseMapper<AppUser> {
    List<OrderPageVO> getOrderPage(@Param("userId") Long userId);
 
    AppUserInfoVO getMyInfo(@Param("id") Long id);
 
    Integer countByCreateTimeBefore(@Param("end") LocalDateTime end);
 
    Integer countByCreateTimeBetween(@Param("start") LocalDateTime start, @Param("end") LocalDateTime end);
 
    List<Map<String, Object>> countGroupByDate(@Param("start") LocalDateTime start,
                                               @Param("end") LocalDateTime end,
                                               @Param("datePattern") String datePattern);
 
    Map<String,Object> getCourierByCommunityId(@Param("communityId")Integer communityId);
 
    IPage<AppUserPageListVO> getAppUserPageList(@Param("page")IPage<AppUserPageListVO> page, @Param("dto")AppUserPageListDTO dto);
}