Issue 81 add goods to check in order process

refactor countOpenedForTable