|
@@ -1084,4 +1084,15 @@ public class UniversalController extends BaseRESTfulController {
|
|
|
return success(mapList);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "查询派车状态")
|
|
|
+ @PostMapping("/getDispachSwitch")
|
|
|
+ public RESTfulResult getDispachSwitch(){
|
|
|
+ return success(universalMapper.getDispachSwitch());
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "修改派车开关")
|
|
|
+ @PostMapping("/updateDispachSwitch")
|
|
|
+ public RESTfulResult updateDispachSwitch(@RequestBody Map<String,Object> map){
|
|
|
+ return success(universalMapper.updateDispachSwitch(map));
|
|
|
+ }
|
|
|
}
|