|
@@ -2,17 +2,16 @@ package com.sooka.sponest.mobile.data.emergency.controller;
|
|
|
|
|
|
import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
import com.ruoyi.common.core.web.page.PageDomain;
|
|
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.ruoyi.common.core.web.page.TableSupport;
|
|
import com.sooka.sponest.mobile.data.emergency.domain.AppXungengVO;
|
|
import com.sooka.sponest.mobile.data.emergency.domain.AppXungengVO;
|
|
import com.sooka.sponest.mobile.data.emergency.feign.service.RemoteXungengService;
|
|
import com.sooka.sponest.mobile.data.emergency.feign.service.RemoteXungengService;
|
|
|
|
+import com.sooka.sponest.mobile.emergency.domain.CentereventTEmergencyPatrolrecord;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
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.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
-import java.util.Collections;
|
|
|
|
-import java.util.List;
|
|
|
|
-
|
|
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/AppXungengController")
|
|
@RequestMapping("/AppXungengController")
|
|
public class AppXungengController {
|
|
public class AppXungengController {
|
|
@@ -30,4 +29,27 @@ public class AppXungengController {
|
|
String busPatrolstationId = vo.getBusPatrolstationId();
|
|
String busPatrolstationId = vo.getBusPatrolstationId();
|
|
return xungengService.getXungengInfo(pageNum, pageSize, busPatrolstationId);
|
|
return xungengService.getXungengInfo(pageNum, pageSize, busPatrolstationId);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * 添加巡更记录
|
|
|
|
+ *
|
|
|
|
+ * @author 韩福成
|
|
|
|
+ * @date 2025/2/25 下午2:27
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("/doXungeng")
|
|
|
|
+ public AjaxResult doXungeng(@RequestBody AppXungengVO vo) {
|
|
|
|
+ return xungengService.doXungeng(vo);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /*
|
|
|
|
+ * 添加巡更点位
|
|
|
|
+ *
|
|
|
|
+ * @author 韩福成
|
|
|
|
+ * @date 2025/2/25 上午10:46
|
|
|
|
+ */
|
|
|
|
+ @PostMapping("addXungengPoint")
|
|
|
|
+ public AjaxResult addXungengPoint(@RequestBody CentereventTEmergencyPatrolrecord vo){
|
|
|
|
+ return xungengService.addXungengPoint(vo);
|
|
|
|
+ }
|
|
}
|
|
}
|