Adjust order query
Fixed some bugs of order create