File tree Expand file tree Collapse file tree 2 files changed +24
-6
lines changed
Expand file tree Collapse file tree 2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 11update
22 alcs .compliance_and_enforcement as ace
33set
4- intake_notes = v .intake_notes
4+ intake_notes = case
5+ when ace .intake_notes <> ' ' then v .intake_notes
6+ else ace .intake_notes
7+ end
58from
69 (values %s) as v(uuid, intake_notes)
710where
Original file line number Diff line number Diff line change 11update
22 alcs .compliance_and_enforcement_submitter as aces
33set
4- name = v .name ,
5- email = v .email ,
6- telephone_number = v .telephone_number ,
7- affiliation = v .affiliation ,
8- additional_contact_information = v .additional_contact_information
4+ name = case
5+ when aces .name <> ' ' then v .name
6+ else aces .name
7+ end,
8+ email = case
9+ when aces .email <> ' ' then v .email
10+ else aces .email
11+ end,
12+ telephone_number = case
13+ when aces .telephone_number <> ' ' then v .telephone_number
14+ else aces .telephone_number
15+ end,
16+ affiliation = case
17+ when aces .affiliation <> ' ' then v .affiliation
18+ else aces .affiliation
19+ end,
20+ additional_contact_information = case
21+ when aces .additional_contact_information <> ' ' then v .additional_contact_information
22+ else aces .additional_contact_information
23+ end
924from
1025 (values %s) as v(
1126 uuid,
You can’t perform that action at this time.
0 commit comments