| | |
| | | package com.fzzy.security; |
| | | |
| | | import com.fzzy.common.manager.CommonManager; |
| | | import com.fzzy.igds.camera.data.ApiCameraData; |
| | | import com.fzzy.igds.camera.data.ApiCameraResp; |
| | | import com.fzzy.igds.constant.CameraPlayType; |
| | |
| | | import com.fzzy.igds.response.BaseResponse; |
| | | import com.fzzy.igds.utils.ContextUtil; |
| | | import com.fzzy.igds.utils.SystemUtil; |
| | | import com.fzzy.common.manager.CommonManager; |
| | | import com.fzzy.security.manager.SecManager; |
| | | import com.ruoyi.common.core.domain.entity.SysDept; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.ModelMap; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.util.List; |
| | |
| | | */ |
| | | @RequestMapping("/patrol-record") |
| | | public String getPatrolRecordById(@RequestParam(value = "patrolId", required = true) String patrolId, |
| | | @RequestParam(value = "userId", required = true) String userId, |
| | | @RequestParam(value = "confId", required = true) String confId, |
| | | ModelMap view) { |
| | | IgdsBaseParam param = new IgdsBaseParam(); |
| | | param.setKey(patrolId); |
| | | List<PatrolRecord> trackPoints = secManager.getRecordByPatrolId(patrolId); |
| | | |
| | | List<PatrolRecord> trackPoints = secManager.getRecordByPatrolId(patrolId, userId, confId); |
| | | view.put("patrolRecordList", trackPoints); |
| | | |
| | | return prefix + "/patrol-record"; |