package thyyxxk.webserver.dao.his.targetmanagement;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import thyyxxk.webserver.entity.highreport.TableGroupInfo;

import java.util.List;
import java.util.Map;

@Mapper
public interface TableGroupInfoDao extends BaseMapper<TableGroupInfo> {

    @Select(" select report_id as reportId, level_id as levelId, level_name as levelName, report_id + '^' + level_id as id from table_group_info where flag = 'Y' ")
    List<Map<String, Object>> selectReportLevelDict();

}
