| | |
| | | import com.gkhy.safePlatform.commons.utils.PageUtils; |
| | | import com.gkhy.safePlatform.commons.vo.ResultVO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.req.EmergencyTeamReqDTO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyTeamDetailRespDTO; |
| | | import com.gkhy.safePlatform.emergency.model.dto.resp.EmergencyTeamPageRespDTO; |
| | | import com.gkhy.safePlatform.emergency.query.EmergencyTeamQuery; |
| | | import com.gkhy.safePlatform.emergency.service.EmergencyTeamService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.security.Principal; |
| | | import java.util.List; |
| | |
| | | /** |
| | | * 应急队伍详情 |
| | | */ |
| | | @RequestMapping(value = "/detail",method = RequestMethod.GET) |
| | | public ResultVO<EmergencyTeamPageRespDTO> getEmergencyTeamById(Long id){ |
| | | @RequestMapping(value = "/info/{id}",method = RequestMethod.GET) |
| | | public ResultVO<EmergencyTeamDetailRespDTO> getEmergencyTeamById(@PathVariable("id")Long id){ |
| | | return emergencyTeamService.getEmergencyTeamById(id); |
| | | } |
| | | } |