Blame view

parking-module-pay/src/main/java/com/zteits/pay/dao/ApiDao.java 1.8 KB
55f68655   王彪总   新项目
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  package com.zteits.pay.dao;
  
  import java.util.List;
  
  import com.github.pagehelper.PageInfo;
  import com.zteits.clouds.api.apibase.bean.PageBean;
  import com.zteits.clouds.api.dto.pay.ApiListDTO;
  import com.zteits.clouds.api.dto.pay.TdBApiDTO;
  import com.zteits.clouds.api.dto.pay.param.ApiLogRequest;
  import com.zteits.pay.domain.TdBApiLog;
  import com.zteits.pay.domain.TdBApiLogName;
  
  /**
   * 
   * 
   * Copyright: Copyright (c) 2017  ZTE-ITS
   * 
   * @ClassName: AppVersionDao.java
   * @Description: 
   * @version: v1.0.0
   * @author: wangbiao
   * @date: 2017年7月17日   下午5:23:15 
   * Modification History:
   * Date             Author          Version            Description
   *---------------------------------------------------------*
   * 2017年7月17日      wangbiao           v1.0.0               创建
   */
  public interface ApiDao {
  	
  	/**
  	 * 
  	* @Title: insertApiLog 
  	* @Description: 插入接口日志
  	* @param @param appType
  	* @param @return    设定文件 
  	* @return Integer    返回类型 
  	* @throws
  	 */
  	Integer insertApiLog(TdBApiLog record);
  	
  	/**
  	 * 根据appType查询总接口数量
  	 * @param appType
  	 * @return
  	 */
  	Integer queryApiCount(Integer appType);
  	
  	/**
  	 * 根据appType当日活跃接口数量
  	 * @param appType
  	 * @return
  	 */
  	Integer queryApiHYCount(Integer appType);
  	
  	/**
  	 * 根据appType当日活跃接口排行榜
  	 * @param appType
  	 * @return
  	 */
  	List<ApiListDTO> queryApiRankingList(Integer appType);
  	/**
  	 * 
  	* @Title: queryApiList 
  	* @Description: 查询api列表
  	* @param @param apiType
  	* @param @return    设定文件 
  	* @return BizResult<List<TdBApiDTO>>    返回类型 
  	* @throws
  	 */
  	List<TdBApiDTO> queryApiList(Integer apiType);
  
  	/**
  	 * 分页查询接口调用日志
  	 * @return
  	 */
  	PageInfo<TdBApiLogName> queryApiLogForPageBean(ApiLogRequest request);
  }