解决系统数据字典返回值类型不一致问题

This commit is contained in:
1378012178@qq.com 2025-11-17 14:34:13 +08:00
parent 2a0c16616b
commit 5037cd1d2d
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@
<sql id="queryTableDictWithFilterSqlFragment">
select ${text} as "text", ${code} as "value"
<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>
from ${table}
<if test="filterSql != null and filterSql != ''">