Fix Setting bugs

* Fix Setting bugs.use spring @PathVariable will convernt double to int. so I replace it to @RequestParam
* Fix yesterday total calculate error
* Fix logic for time caculate(Sun rise&down)
* Fix DataUtils
* Fix dashboard.js out of index error