fix query endtime bug
Merge branch 'master' into lichenxing