优化系统字典值查询
This commit is contained in:
parent
fc4fc29d57
commit
8231629e3f
|
|
@ -193,7 +193,7 @@
|
|||
<sql id="queryTableDictWithFilterSqlFragment">
|
||||
select ${text} as "text", ${code} as "value"
|
||||
<if test="'1'.equals(ena) || ena == 1 || ena == '1'">
|
||||
,(case iz_enabled when 'Y' then 0 else 1 end) as status
|
||||
,(case iz_enabled when 'Y' then 0 when 0 then 0 when 1 then 1 else 1 end) as status
|
||||
</if>
|
||||
from ${table}
|
||||
<if test="filterSql != null and filterSql != ''">
|
||||
|
|
|
|||
Loading…
Reference in New Issue