| | |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | @PostMapping("findJingWeiSearch") |
| | | result<List<TbGpsTrack>> findJingWeiSearch(Integer page,Integer limit,String tagid,String datte) throws ParseException { |
| | | PageInfo<TbGpsTrack> cz= gpsTrackService.findJingWeiSearch(page, limit, tagid, datte); |
| | | cz.setTotal(100000); |
| | | return resultutil.returnSuccess(cz.getTotal(), cz.getList()); |
| | | } |
| | | |
| | | @GetMapping("findHourceCount") |
| | | public List findHourceCount(String dates,String tagid){ |
| | | return gpsTrackService.findHourceCount(dates, tagid); |
| | | } |
| | | @GetMapping("findHourceCountHaiBa") |
| | | public List findHourceCountHaiBa(String dates,String tagid) throws ParseException { |
| | | return gpsTrackService.findHourceCountHaiBa(dates, tagid); |
| | | } |
| | | |
| | | |
| | | public static boolean isInPolygon(Point2D.Double point, List<Point2D.Double> pts) { |
| | | int N = pts.size(); |
| | |
| | | |
| | | //二维地图查询轨迹 |
| | | @PostMapping("trackTagid.do") |
| | | public List<TbTrackGps> queryTagid(HttpServletRequest request) throws ParseException { |
| | | String tag_id = request.getParameter("tag_value"); |
| | | String begin_time = request.getParameter("begin_value"); |
| | | String end_time = request.getParameter("end_value"); |
| | | String floor = request.getParameter("floor_value"); |
| | | List tagList = gpsTrackService.getTagtrack(tag_id,begin_time,end_time,floor); |
| | | public List<TbTrackGps> queryTagid(HttpServletRequest request,String tagid,String start,String end) throws ParseException { |
| | | List tagList = gpsTrackService.getTagtrack(tagid,start,end,"0"); |
| | | return tagList; |
| | | } |
| | | public String gettime(){ |