|
@@ -0,0 +1,33 @@
|
|
|
+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.TableDataInfo;
|
|
|
+import com.ruoyi.common.core.web.page.TableSupport;
|
|
|
+import com.sooka.sponest.mobile.data.emergency.domain.AppXungengVO;
|
|
|
+import com.sooka.sponest.mobile.data.emergency.feign.service.RemoteXungengService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+import java.util.Collections;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+@RestController
|
|
|
+@RequestMapping("/AppXungengController")
|
|
|
+public class AppXungengController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private RemoteXungengService xungengService;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ @RequestMapping("getXungengInfo")
|
|
|
+ public AjaxResult getXungengInfo(AppXungengVO vo){
|
|
|
+ PageDomain pageDomain = TableSupport.buildPageRequest();
|
|
|
+ Integer pageNum = pageDomain.getPageNum();
|
|
|
+ Integer pageSize = pageDomain.getPageSize();
|
|
|
+ String busPatrolstationId = vo.getBusPatrolstationId();
|
|
|
+ return xungengService.getXungengInfo(pageNum, pageSize, busPatrolstationId);
|
|
|
+ }
|
|
|
+}
|