Compare commits

...

2 Commits

  1. 7
      src-modules/module/qa/datentabellen/qa_mask_execution_assert_result_code_setzen.sql
  2. 6
      src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql

7
src-modules/module/qa/datentabellen/qa_mask_execution_assert_result_code_setzen.sql

@ -166,7 +166,8 @@ from qa_mask_execution2project TP, qa_project P @@ -166,7 +166,8 @@ from qa_mask_execution2project TP, qa_project P
where TP.mask_execution_id=tmp_testcase.mask_execution_id
and P.tid=TP.project_id
;
--nun DB-Tests:
--nun DB-Tests, wenn keine Maske ausgewählt ist:
<#if "<<Maske>>" =="">
<@selectintotmp
select="
T.tid,
@ -232,6 +233,7 @@ update tmp_qa_dbtest set @@ -232,6 +233,7 @@ update tmp_qa_dbtest set
insert into tmp_testcase(testcase_type,
systeminfo_id,
projekt_str,
execution_name,
uniquename,
--maskeninfo_id_str,
@ -249,6 +251,7 @@ nextedit @@ -249,6 +251,7 @@ nextedit
)
select 2::integer as testcase_type, --DB-Test
systeminfo_id,
projekt_str,
name,
uniquename,
case when ticket_link !='' then 'Ticket|' || ticket_link else '' end as ticket_link,
@ -269,7 +272,7 @@ from tmp_qa_dbtest @@ -269,7 +272,7 @@ from tmp_qa_dbtest
drop table tmp_qa_dbtest;
</#if> --Ende wenn keine Maske ausgewählt ist
<#if inEtl>

6
src-modules/module/qa/hilfstabellen/qa_sos_stg_aggr_int_fuellen.sql

@ -49,7 +49,10 @@ S.stutyp, @@ -49,7 +49,10 @@ S.stutyp,
S.stufrm,
S.summe,
S.matrikel_nr,
D.stg_astat as stg,
--führende 0 entfernen:
(case when substring(D.stg_astat from 1 for 1)='0'
then substring(D.stg_astat from 2 for 3)
else D.stg_astat end) as stg,
D.abschluss_astat as abschluss,
S.stichtag
FROM dim_studiengang D, sos_stg_aggr S left outer join sos_k_hrst H
@ -61,3 +64,4 @@ and S.stichtag in (select I.tid from sos_stichtag I where appl_key in ('0','1')) @@ -61,3 +64,4 @@ and S.stichtag in (select I.tid from sos_stichtag I where appl_key in ('0','1'))
</#if>

Loading…
Cancel
Save