iws中i8工程项目定时器的中文状态转换成字典

This commit is contained in:
hongchao 2025-07-07 09:24:00 +08:00
parent 0da067b680
commit 7e8fbb8f9a
1 changed files with 5 additions and 5 deletions

View File

@ -201,11 +201,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select select
dfs.id as externalId, dfs.id as externalId,
case dfs.project_status case dfs.project_status
when '开工准备' then 1 when '开工准备' then 0
when '在建' then 2 when '在建' then 1
when '停工' then 3 when '停工' then 2
when '完工未竣工' then 4 when '完工未竣工' then 3
when '竣工' then 5 when '竣工' then 4
else dfs.project_status else dfs.project_status
end as proStatus, end as proStatus,
dfs.real_end_date as actualEndDate dfs.real_end_date as actualEndDate