Redeem 1 ano atrás
pai
commit
6c11014577

+ 9 - 0
src/main/java/com/steerinfo/dil/controller/ReportController.java

@@ -34,4 +34,13 @@ public class ReportController {
                                         Integer pageSize){
         return reportFeign.getQYMonitors(mapValue == null ? new HashMap<>() : mapValue,apiId,pageNum,pageSize);
     }
+
+    @ApiOperation(value="展示厂内车辆数")
+    @PostMapping(value = "/getFactoryCarNum")
+    Map<String, Object> getFactoryCarNum(@RequestBody(required=false) HashMap<String,Object> mapValue,
+                                      Integer apiId,
+                                      Integer pageNum,
+                                      Integer pageSize){
+        return reportFeign.getFactoryCarNum(mapValue == null ? new HashMap<>() : mapValue,apiId,pageNum,pageSize);
+    }
 }

+ 6 - 0
src/main/java/com/steerinfo/dil/feign/ReportFeign.java

@@ -16,4 +16,10 @@ public interface ReportFeign {
                                         @RequestParam Integer apiId,
                                         @RequestParam  Integer pageNum,
                                         @RequestParam  Integer pageSize);
+
+    @PostMapping(value = "api/v1/report/monitors/getFactoryCarNum")
+    Map<String, Object> getFactoryCarNum(@RequestBody(required = false) HashMap<String, Object> map,
+                                         @RequestParam Integer apiId,
+                                         @RequestParam  Integer pageNum,
+                                         @RequestParam  Integer pageSize);
 }

+ 2 - 2
src/main/resources/application-prod.yml

@@ -42,13 +42,13 @@ openfeign:
   OTMSFeign:
     url: ${OTMSFEIGN_URL:172.16.90.214:8038}
   EmsFeign:
-    url: ${TMSFEIGN_URL:172.16.90.214:8096}
+    url: ${TMSFEIGN_URL:192.168.0.118:8096}
   SSOFeign:
     url: ${SSOFEIGN_URL:172.16.90.214:9001}
   WebSocketFeign:
     url: ${WEBSOCKETFEIGN_URL:172.16.90.214:8000}
   REPORTFeign:
-    url: ${REPORTFEIGN_URL:172.16.90.214:8055}
+    url: ${REPORTFEIGN_URL:localhost:8055}
 
 
 #远程调用