fix pre&next trainid both null
Merge branch 'dev' of https://github.com/railproject/trainplan into dev