| | |
| | | import com.ruoyi.doublePrevention.vo.ResultVO; |
| | | import com.ruoyi.project.system.user.domain.User; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.List; |
| | | |
| | | import static com.ruoyi.common.utils.security.ShiroUtils.getSysUser; |
| | | |
| | | @RestController |
| | | @RequestMapping("/prevent/riskEvent") |
| | | @RequestMapping("/riskEvent") |
| | | public class PreventRiskEventController { |
| | | |
| | | @Autowired |
| | |
| | | /** |
| | | * @description 获取所有风险事件不分页 |
| | | */ |
| | | @PostMapping("/select/listRiskEvent") |
| | | @GetMapping("/select/listRiskEvent") |
| | | public ResultVO<List<PreventRiskEventListQueryRespDTO>> listRiskEvent() { |
| | | return riskService.listRiskEvent(); |
| | | } |