what “ China thing”? “ a lady” not wife? Can not spouse it back? “ two children” / if they r yours, you can try and get back with “ father visas”.... if none of above ... then you are stuck
If and only if you have obtained all boarding passes for all legs of flights and without reclaiming luggages in between, ie a checked-through flight to Europe, at the time when you depart from Indo ... otherwise, no chance u could transit in Thailand in early July