EC 7681 then CA 840 at Barcelona
Lisbon → Barcelona → Shanghai
Timetable, Barcelona time
21:50EC 7681 from Lisbon at the gatealso U2 7681
10:40CA 840 to Shanghai leaves the gate
12 h 50 apart on the timetable, overnight
CA 840 leaves 12 h 50 after EC 7681 arrives on the timetable: more than half a day, so not a connection we count.