NC 65 枚举值查询

NC6.X 的枚举值保存在md_enumvalue 里面,其中id字段是所属枚举类的id(关联md_class表的id字段),可以先查找枚举类的信息,

select * from md_class t where t.displayname like '%交通工具%' ;

再根据枚举类的id查询枚举值域:
select * from md_enumvalue  t where t.id ='550519e8-69fc-4d16-8d14-0f8e71d1f5aa' and t.industry='48' order by to_number(value);

发布了25 篇原创文章 · 获赞 3 · 访问量 8352

猜你喜欢

转载自blog.csdn.net/weixin_42516207/article/details/104480393