| | |
| | | </select> |
| | | |
| | | <select id="selectTabs" resultType="com.lf.server.entity.ctrl.TabEntity"> |
| | | select distinct ns,tab,fn_get_entity(tab) entity,tab_desc,tabletype from lf.sys_dict order by tab; |
| | | select distinct ns,tab,fn_get_entity(tab) entity,tab_desc,tabletype from lf.sys_dict order by tab |
| | | </select> |
| | | |
| | | <select id="selectFields" resultType="com.lf.server.entity.data.DictEntity"> |
| | | select * from lf.sys_dict where ns = #{ns} and tab = #{tab} order by order_num |
| | | </select> |
| | | |
| | | <select id="selectDomains" resultType="com.lf.server.entity.data.DomainEntity"> |
| | | select a.* from lf.sys_domain a inner join lf.sys_dict b on a.dom_name = b.domain_na |
| | | where b.ns = #{ns} and b.tab = #{tab} and b.domain_na is not null |
| | | </select> |
| | | </mapper> |