Commit 93ff1033 authored by suhuiguang's avatar suhuiguang

1.自测bug

parent 8eeb8f89
......@@ -47,7 +47,7 @@
else false END as isExistPlanData,
(SELECT cdd1.NAME from cb_data_dictionary cdd1 where cdd1.code = tzjia.inspection_classify AND cdd1.TYPE = 'JYJCLB' limit 1) as inspectionClassify,
(SELECT cdd2.NAME from cb_data_dictionary cdd2 where cdd2.code = tzjia.status and cdd2.type = 'JYLCZT' limit 1) AS statusName,
(SELECT cdd3.NAME from cb_data_dictionary cdd3 where cdd3.code = tzjia.status and cdd3.type = 'JYJC' limit 1) AS inspectionType,
(SELECT cdd3.NAME from cb_data_dictionary cdd3 where cdd3.code = tzjia.inspection_type and cdd3.type = 'JYJC' limit 1) AS inspectionType,
(SELECT name FROM "tz_equipment_category" ca where ca.code = tzjia.equip_classify) AS equipClassify
FROM
tz_jyjc_inspection_application AS tzjia,
......
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