Blame view

fw-valhalla-dao/src/main/java/cn/fw/valhalla/dao/mapper/PublicPoolMapper.java 1.41 KB
03b7b995   张志伟   ✨ 公共池后端逻辑 100%
1
2
  package cn.fw.valhalla.dao.mapper;
  
7c9f5c47   张志伟   :art:
3
  import cn.fw.valhalla.domain.db.pool.PublicPool;
1d36107f   张志伟   :sparkles:
4
  import cn.fw.valhalla.domain.dto.PublicPoolDTO;
bfac3874   xianpengcheng   public_report_dat...
5
6
  import cn.fw.valhalla.domain.dto.PublicPoolReportDTO;
  import cn.fw.valhalla.domain.dto.PublicPoolReportQueryDTO;
1d36107f   张志伟   :sparkles:
7
  import cn.fw.valhalla.domain.query.PublicPoolQueryVO;
03b7b995   张志伟   ✨ 公共池后端逻辑 100%
8
  import com.baomidou.mybatisplus.core.mapper.BaseMapper;
1d36107f   张志伟   :sparkles:
9
  import org.apache.ibatis.annotations.Param;
03b7b995   张志伟   ✨ 公共池后端逻辑 100%
10
11
  import org.springframework.stereotype.Repository;
  
1d36107f   张志伟   :sparkles:
12
13
  import java.util.List;
  
03b7b995   张志伟   ✨ 公共池后端逻辑 100%
14
15
16
17
18
19
20
21
  /**
   * @author : kurisu
   * @className : PublicPoolMapper
   * @description : 公共池
   * @date: 2020-09-25 16:07
   */
  @Repository
  public interface PublicPoolMapper extends BaseMapper<PublicPool> {
1d36107f   张志伟   :sparkles:
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
      /**
       * 查询公共池
       *
       * @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);
364db3cc   张志伟   :sparkles:
39
40
41
42
43
44
45
  
      /**
       * 根据门店列表查询vin
       * @param shopIds
       * @return
       */
      List<String> queryIdListByShops(@Param("shopIds") List<Long> shopIds);
bfac3874   xianpengcheng   public_report_dat...
46
47
48
49
50
51
52
  
      /**
       * 查询公共池来源统计
       * @param dto
       * @return
       */
      List<PublicPoolReportDTO> countPublicPoolList(PublicPoolReportQueryDTO dto);
03b7b995   张志伟   ✨ 公共池后端逻辑 100%
53
  }