PublicPoolMapper.java
1.41 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
43
44
45
46
47
48
49
50
51
52
53
package cn.fw.valhalla.dao.mapper;
import cn.fw.valhalla.domain.db.pool.PublicPool;
import cn.fw.valhalla.domain.dto.PublicPoolDTO;
import cn.fw.valhalla.domain.dto.PublicPoolReportDTO;
import cn.fw.valhalla.domain.dto.PublicPoolReportQueryDTO;
import cn.fw.valhalla.domain.query.PublicPoolQueryVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @author : kurisu
* @className : PublicPoolMapper
* @description : 公共池
* @date: 2020-09-25 16:07
*/
@Repository
public interface PublicPoolMapper extends BaseMapper<PublicPool> {
/**
* 查询公共池
*
* @param startIndex
* @param pageSize
* @param queryVO
* @return
*/
List<PublicPoolDTO> publicList(@Param("startIndex") Integer startIndex, @Param("pageSize") Integer pageSize, @Param("condition") PublicPoolQueryVO queryVO);
/**
* 查询总数
*
* @param queryVO
* @return
*/
Long publicListCount(@Param("condition") PublicPoolQueryVO queryVO);
/**
* 根据门店列表查询vin
* @param shopIds
* @return
*/
List<String> queryIdListByShops(@Param("shopIds") List<Long> shopIds);
/**
* 查询公共池来源统计
* @param dto
* @return
*/
List<PublicPoolReportDTO> countPublicPoolList(PublicPoolReportQueryDTO dto);
}