TUInterfaceinfoMapper.java 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. package com.sooka.system.mapper;
  2. import java.util.List;
  3. import java.util.Map;
  4. import com.sooka.system.domain.TUInterfaceinfo;
  5. import org.apache.ibatis.annotations.Param;
  6. /**
  7. * 【接口应用审批管理】Mapper接口
  8. *
  9. * @author lei
  10. * @date 2021-07-01
  11. */
  12. public interface TUInterfaceinfoMapper
  13. {
  14. /**
  15. * 查询【接口应用审批管理】
  16. *
  17. * @param id 【接口应用审批管理】ID
  18. * @return 【接口应用审批管理】
  19. */
  20. public TUInterfaceinfo selectTUInterfaceinfoById(String id);
  21. /**
  22. * 查询【接口应用审批管理】列表
  23. *
  24. * @param tUInterfaceinfo 【接口应用审批管理】
  25. * @return 【接口应用审批管理】集合
  26. */
  27. public List<TUInterfaceinfo> selectTUInterfaceinfoList(TUInterfaceinfo tUInterfaceinfo);
  28. /**
  29. * 查询【接口数据条数】列表
  30. *
  31. * @param tUInterfaceinfo 【接口数据条数】
  32. * @return 【接口数据条数】集合
  33. */
  34. public List<TUInterfaceinfo> selectTUInterfaceinfoDataNumList(TUInterfaceinfo tUInterfaceinfo);
  35. /**
  36. * 根据接口IDS获取接口LIST
  37. * */
  38. public List<TUInterfaceinfo> selectTUInterfaceinfoListByIds(String[] ids);
  39. /**
  40. * 根据数据应用IDS获取数据应用LIST
  41. * */
  42. public List<TUInterfaceinfo> selectTUInterfaceDataListByIds(String[] ids);
  43. /**
  44. * 新增【接口应用审批管理】
  45. *
  46. * @param tUInterfaceinfo 【接口应用审批管理】
  47. * @return 结果
  48. */
  49. public int insertTUInterfaceinfo(TUInterfaceinfo tUInterfaceinfo);
  50. /**
  51. * 修改【接口应用审批管理】
  52. *
  53. * @param tUInterfaceinfo 【接口应用审批管理】
  54. * @return 结果
  55. */
  56. public int updateTUInterfaceinfo(TUInterfaceinfo tUInterfaceinfo);
  57. /**
  58. * 查询【库表数据条数】
  59. *
  60. * @param tUInterfaceinfo 【库表数据条数】
  61. * @return 结果
  62. */
  63. public TUInterfaceinfo selectCountByTableName(TUInterfaceinfo tUInterfaceinfo);
  64. /**
  65. * 修改【接口成功条数】
  66. *
  67. * @param tUInterfaceinfo 【接口成功条数】
  68. * @return 结果
  69. */
  70. public int updateInterfaceCallsuccnum(TUInterfaceinfo tUInterfaceinfo);
  71. /**
  72. * 修改【接口数据条数】
  73. *
  74. * @param tUInterfaceinfo 【接口数据条数】
  75. * @return 结果
  76. */
  77. public int updateTUInterfaceinfoDataNum(TUInterfaceinfo tUInterfaceinfo);
  78. /**
  79. * 更新【接口数据条数】
  80. *
  81. * @param tUInterfaceinfo 【接口数据条数】
  82. * @return 结果
  83. */
  84. public int updateDataNum(TUInterfaceinfo tUInterfaceinfo);
  85. /**
  86. * 删除【接口应用审批管理】
  87. *
  88. * @param id 【接口应用审批管理】ID
  89. * @return 结果
  90. */
  91. public int deleteTUInterfaceinfoById(String id);
  92. /**
  93. * 批量删除【接口应用审批管理】
  94. *
  95. * @param ids 需要删除的数据ID
  96. * @return 结果
  97. */
  98. public int deleteTUInterfaceinfoByIds(String[] ids);
  99. public Integer getMaxCode();
  100. /**
  101. * 查询接口数量
  102. * @return 结果
  103. */
  104. public List<TUInterfaceinfo> getCount();
  105. /**
  106. * 查询接口占比
  107. * @param year
  108. * @return 结果
  109. */
  110. public List<TUInterfaceinfo> getPercent(@Param("year") String year);
  111. /**
  112. * 查询接口占比
  113. * @param year
  114. * @return 结果
  115. */
  116. public List<TUInterfaceinfo> getSubPercent(@Param("deptId") String deptId, @Param("year") String year);
  117. /**
  118. * 接口审批分析
  119. * @return 结果
  120. */
  121. public TUInterfaceinfo getSubJkspfx(@Param("deptId") String deptId, @Param("year") String year);
  122. /**
  123. * 审批分析
  124. * @return 结果
  125. */
  126. public TUInterfaceinfo getSubSpfx(@Param("deptId") String deptId, @Param("year") String year);
  127. /**
  128. * 查询省接口调用频次TOP5
  129. * @return 结果
  130. */
  131. public List<TUInterfaceinfo> getProvinceTop5Frequency();
  132. /**
  133. * 查询市接口调用频次TOP5
  134. * @return 结果
  135. */
  136. public List<TUInterfaceinfo> getCityTop5Frequency();
  137. /**
  138. * 查询省接口调用频次TOP20
  139. * @return 结果
  140. */
  141. public List<TUInterfaceinfo> getProvinceTop20Frequency();
  142. /**
  143. * 查询市接口调用频次TOP20
  144. * @return 结果
  145. */
  146. public List<TUInterfaceinfo> getCityTop20Frequency();
  147. /**
  148. * 查询归集接口排名
  149. * @return 结果
  150. */
  151. public List<TUInterfaceinfo> getImputationInterfaceRanking();
  152. /**
  153. * 查询归集数据排名
  154. * @return 结果
  155. */
  156. public List<TUInterfaceinfo> getImputationDataRanking();
  157. /**
  158. * 查询故障接口数量
  159. * @return 结果
  160. * */
  161. public Integer getInterfaceCount(@Param("status") String status);
  162. /**
  163. * 根据部门ID查询分类数量
  164. * @return 结果
  165. * */
  166. public TUInterfaceinfo getShareCountByDeptId(@Param("deptId") String deptId);
  167. public void getGuijiCountByDeptId(Map map);
  168. /**
  169. * 接口调用频次
  170. * @return 结果
  171. * */
  172. public int callFrequency();
  173. /**
  174. * 接口归集频次
  175. * @return 结果
  176. * */
  177. public int pushFrequency();
  178. /**
  179. * 接口共享频次
  180. * @return 结果
  181. * */
  182. public int pullFrequency();
  183. /**
  184. * 查询接口日志台账
  185. * @return 结果
  186. */
  187. public List<TUInterfaceinfo> interfaceLogList(TUInterfaceinfo interfaceinfo);
  188. /**
  189. * 查询共享应用分析
  190. * @return 结果
  191. */
  192. public List<TUInterfaceinfo> getCallNumByDept(@Param("deptId") Long deptId);
  193. }