package com.ytpm.dao;

import com.ytpm.agent.model.YtApp;
import com.ytpm.agent.model.YtPlatformUserApp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AppMapper {
    /**
     * 应用ID查询应用
     */
    YtApp selectRiskApp(@Param("appId") String appId);

    /**
     * 查询上级应用
     */
    YtPlatformUserApp selectParentApp(@Param("appId")String appId);
}
