Commit 39100e1c by lijingjing

数据对接数据处理系统,报告签发人在原铝时,传递委托人;

parent cba2726c
......@@ -99,8 +99,8 @@
max(i.tester) "tester",
to_char(max(i.test_time),'YYYY-MM-DD HH24:MI:SS') "test_time",
max(r.report_checker) "report_checker",
max(r.report_issuer) "report_issuer",
max(CASE WHEN S.NAME = '原铝' then e.assignor else r.quality_inspector end) "quality_inspector",
max(CASE WHEN S.NAME = '原铝' then e.assignor else r.report_issuer end) "report_issuer",
max(r.quality_inspector) "quality_inspector",
max(case when ii.name = '原铝Fe' then trim(ii.test_value) else null end) "fe",
max(case when ii.name = '原铝Si' then trim(ii.test_value) else null end) "si",
max(case when ii.name = '原铝Cu' then trim(ii.test_value) else null end) "cu",
......
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