Revert "Revert "add agent query in backend orderlist""

This reverts commit ad4a6aa4208bc7ebb96b7572daf2cd4be2fe993b.