解决系统数据字典返回值类型不一致问题
This commit is contained in:
parent
2a0c16616b
commit
5037cd1d2d
|
|
@ -193,7 +193,7 @@
|
||||||
<sql id="queryTableDictWithFilterSqlFragment">
|
<sql id="queryTableDictWithFilterSqlFragment">
|
||||||
select ${text} as "text", ${code} as "value"
|
select ${text} as "text", ${code} as "value"
|
||||||
<if test="'1'.equals(ena) || ena == 1 || ena == '1'">
|
<if test="'1'.equals(ena) || ena == 1 || ena == '1'">
|
||||||
,iz_enabled as status
|
,(case iz_enabled when 'Y' then 0 when 0 then 0 when 1 then 1 else 1 end) as status
|
||||||
</if>
|
</if>
|
||||||
from ${table}
|
from ${table}
|
||||||
<if test="filterSql != null and filterSql != ''">
|
<if test="filterSql != null and filterSql != ''">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue