Minor changes to order DB interaction
Merge branch 'master' of https://github.com/yondaimeku/ap-project