package com.sooka.system.service; import java.util.List; import com.sooka.system.domain.TUInterfaceinfo; import org.apache.ibatis.annotations.Param; /** * 【接口应用审批管理】Service接口 * * @author lei * @date 2021-07-01 */ public interface ITUInterfaceinfoService { /** * 查询【接口应用审批管理】 * * @param id 【接口应用审批管理】ID * @return 【接口应用审批管理】 */ public TUInterfaceinfo selectTUInterfaceinfoById(String id); /** * 查询【接口应用审批管理】列表 * * @param tUInterfaceinfo 【接口应用审批管理】 * @return 【接口应用审批管理】集合 */ public List selectTUInterfaceinfoList(TUInterfaceinfo tUInterfaceinfo); /** * 根据接口IDS获取接口LIST * */ public List selectTUInterfaceinfoList(String[] ids); /** * 根据数据应用IDS获取数据应用LIST * */ public List selectTUInterfaceDataList(String[] ids); /** * 新增【接口应用审批管理】 * * @param tUInterfaceinfo 【接口应用审批管理】 * @return 结果 */ public int insertTUInterfaceinfo(TUInterfaceinfo tUInterfaceinfo); /** * 修改【接口应用审批管理】 * * @param tUInterfaceinfo 【接口应用审批管理】 * @return 结果 */ public int updateTUInterfaceinfo(TUInterfaceinfo tUInterfaceinfo); /** * 批量删除【接口应用审批管理】 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteTUInterfaceinfoByIds(String ids); /** * 删除【接口应用审批管理】信息 * * @param id 【接口应用审批管理】ID * @return 结果 */ public int deleteTUInterfaceinfoById(String id); /** * 查询接口数量 * @return 结果 */ public List getCount(); /** * 查询接口占比 * @return 结果 */ public List getPercent(String year); /** * 查询接口占比 * @return 结果 */ public List getSubPercent(String deptId, String year); /** * 接口审批分析 * @return 结果 */ public TUInterfaceinfo getSubJkspfx(String deptId, String year); /** * 审批分析 * @return 结果 */ public TUInterfaceinfo getSubSpfx(String deptId, String year); /** * 查询省接口调用频次TOP5 * @return 结果 */ public List getProvinceTop5Frequency(); /** * 查询市接口调用频次TOP5 * @return 结果 */ public List getCityTop5Frequency(); /** * 查询省接口调用频次TOP20 * @return 结果 */ public List getProvinceTop20Frequency(); /** * 查询市接口调用频次TOP20 * @return 结果 */ public List getCityTop20Frequency(); /** * 查询归集接口排名 * @return 结果 */ public List getImputationInterfaceRanking(); /** * 查询归集数据排名 * @return 结果 */ public List getImputationDataRanking(); /** * 查询故障接口数量 * @return 结果 * */ public Integer getInterfaceCount(String status); /** * 根据部门ID查询分类数量 * @return 结果 * */ public TUInterfaceinfo getShareCountByDeptId(String deptId); public Long getGuijiCountByDeptId(String deptId); /** * 接口调用频次 * @return 结果 * */ public int callFrequency(); /** * 接口归集频次 * @return 结果 * */ public int pushFrequency(); /** * 接口共享频次 * @return 结果 * */ public int pullFrequency(); /** * 查询接口日志台账 * @return 结果 */ public List interfaceLogList(TUInterfaceinfo interfaceinfo); /** * 查询共享应用分析 * @return 结果 */ public List getCallNumByDept(Long deptId); }