Signing a labor contract with a third-party company belongs to the type of labor dispatch. You have no labor relationship with the bank, but your labor relationship is with a third-party company (dispatching company). So suppose you leave the bank (to resign for the bank), accordingly, your labor relationship is still with a third-party company, and the third-party company can also arrange another new employment unit for you. Therefore, you can't include the bank as the subject of litigation. Even if you do, I will follow the bank.
Look back at the wage terms of the labor contract you signed with the third-party dispatching company. Accordingly, you can ask a third-party company to pay your salary.