File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def get_kit_id_from_db():
1616 inner join ep_subject_episode_t se on se.screening_subject_id = tk.screening_subject_id
1717 inner join screening_subject_t sst on (sst.screening_subject_id = tk.screening_subject_id)
1818 inner join sd_contact_t sdc on (sdc.nhs_number = sst.subject_nhs_number)
19- where tk.tk_type_id = 3
19+ where tk.tk_type_id = 2
2020 and tk.logged_in_flag = 'N'
2121 and sdc.hub_id = 23159
2222 and device_id is null
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def get_kit_id_logged_from_db():
4343WHERE tk.logged_in_flag = 'Y'
4444AND kq.test_kit_status IN ('LOGGED', 'POSTED')
4545AND se.episode_status_id = 11352
46- AND tk.tk_type_id = 3
46+ AND tk.tk_type_id = 2
4747AND se.latest_event_status_id = 11223
4848AND tk.logged_in_at = 23159
4949AND tk.reading_flag = 'N'
You can’t perform that action at this time.
0 commit comments