查询事件名称事件类型和分类

select NAME,
       AE_TYPE,
       (select LABEL
          from sys_dict t1
         where type = 'ae_type'
           and t1.value = a.AE_TYPE) as "事件类型",
       AE_CLASS,
       (select LABEL
          from sys_dict d2
         where type = 'ae_class'
           and d2.value = a.ae_class) as "事件分类"
  from ae_sys_aename a

posted on 2024-03-21 14:37  想起就不爽  阅读(8)  评论(0编辑  收藏  举报

导航