Commit 328a7cdc authored by chenzhao's avatar chenzhao

修改sql语句

parent e9d66767
...@@ -424,18 +424,8 @@ ...@@ -424,18 +424,8 @@
ELSE ELSE
'五级' '五级'
END )AS level, END )AS level,
(CASE a.key_parts_type IFNULL(a.key_parts_type,1) AS keyPartsType,
WHEN 0 THEN IFNULL(a.custom_type,1) AS customType,
'是'
WHEN 1 THEN
'否'
END )AS keyPartsType,
(CASE a.custom_type
WHEN 0 THEN
'是'
WHEN 1 THEN
'否'
END )AS customType,
a.risk_desc, a.risk_desc,
a.data_json a.data_json
from from
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment