|
@@ -0,0 +1,29 @@
|
|
|
|
+package com.sooka.sponest.mobile.data.emergency.controller;
|
|
|
|
+
|
|
|
|
+import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
|
+import com.ruoyi.common.core.web.page.PageDomain;
|
|
|
|
+import com.ruoyi.common.core.web.page.TableSupport;
|
|
|
|
+import com.sooka.sponest.mobile.data.emergency.domain.AppXunchaVO;
|
|
|
|
+import com.sooka.sponest.mobile.data.emergency.feign.service.RemoteAppPatroAlerService;
|
|
|
|
+import com.sooka.sponest.mobile.data.emergency.feign.service.RemoteXunchaService;
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
|
+
|
|
|
|
+@RestController
|
|
|
|
+@RequestMapping("/AppPatroAlertController")
|
|
|
|
+public class AppPatroAlertController {
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private RemoteAppPatroAlerService xunchaService;
|
|
|
|
+
|
|
|
|
+ @GetMapping("/list")
|
|
|
|
+ public AjaxResult list(){
|
|
|
|
+ PageDomain pageDomain = TableSupport.buildPageRequest();
|
|
|
|
+ Integer pageNum = pageDomain.getPageNum();
|
|
|
|
+ Integer pageSize = pageDomain.getPageSize();
|
|
|
|
+
|
|
|
|
+ return xunchaService.list(pageNum, pageSize);
|
|
|
|
+ }
|
|
|
|
+}
|