fix sql bug
implement order and order line