ID_ AS "id", REV_ AS "rev", NAME_ AS "name", KEY_ AS "key", CATEGORY_ AS "category", CREATE_TIME_ AS "createTime", LAST_UPDATE_TIME_ AS "lastUpdateTime", VERSION_ AS "version", META_INFO_ AS "metaInfo", DEPLOYMENT_ID_ AS "deploymentId", EDITOR_SOURCE_VALUE_ID_ AS "editorSourceValueId", EDITOR_SOURCE_EXTRA_VALUE_ID_ AS "editorSourceExtraValueId", TENANT_ID_ AS "tenantId"
select
from act_re_model where 1 = 1
select
from act_re_model where 1 = 1
select
from act_re_model where 1 = 1
select
,
dict.name as cateName
from act_re_model model
inner join sys_dict dict on model.CATEGORY_ = dict.code
model.NAME_ like CONCAT('%',#{paramCondition.name},'%')
and model.CATEGORY_ like CONCAT('%',#{paramCondition.category},'%')
order by model.LAST_UPDATE_TIME_ desc
select
,
dict.name as cateName
from act_re_model model
inner join sys_dict dict on model.CATEGORY_ = dict.code
model.NAME_ like CONCAT('%',#{paramCondition.name},'%')
and model.CATEGORY_ like CONCAT('%',#{paramCondition.category},'%')
order by model.LAST_UPDATE_TIME_ desc
select
,
dict.name as "cateName"
from act_re_model m
inner join sys_dict dict on m.CATEGORY_ = dict.code
m.NAME_ like '%' || #{paramCondition.name} || '%'
and m.CATEGORY_ like '%' || #{paramCondition.category} || '%'
order by m.LAST_UPDATE_TIME_ desc
select
,
dict.name as "cateName"
from act_re_model m
inner join sys_dict dict on m.CATEGORY_ = dict.code
m.NAME_ like '%' || #{paramCondition.name} || '%'
and m.CATEGORY_ like '%' || #{paramCondition.category} || '%'
order by m.LAST_UPDATE_TIME_ desc