Redeem 1 jaar geleden
bovenliggende
commit
ef93233b14

+ 6 - 0
pom.xml

@@ -80,6 +80,12 @@
             <version>2.0.7.RELEASE</version>
         </dependency>
 
+        <dependency>
+            <groupId>com.fasterxml.jackson.core</groupId>
+            <artifactId>jackson-databind</artifactId>
+            <version>2.9.8</version>
+        </dependency>
+
         <!--mybatisPlus-->
         <dependency>
             <groupId>com.baomidou</groupId>

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

@@ -129,6 +129,12 @@ public class ReportController {
         return reportFeign.selecttype(mapValue, apiId, pageNum, pageSize);
     }
 
+    @ApiOperation(value = "发运单汇总查询")
+    @PostMapping(value = "/selectSum")
+    Map<String, Object> selectSum(@RequestBody(required = false) HashMap<String, Object> mapValue) {
+        return reportFeign.selectSum(mapValue);
+    }
+
     @ApiOperation(value = "派车单查询")
     @PostMapping(value = "/selecttype1")
     Map<String, Object> selecttype1(@RequestBody(required = false) HashMap<String, Object> mapValue,

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

@@ -69,6 +69,9 @@ public interface ReportFeign {
                                    @RequestParam Integer pageNum,
                                    @RequestParam Integer pageSize);
 
+    @PostMapping(value = "api/v1/report/destination/selectSum")
+    Map<String, Object> selectSum(@RequestBody(required = false) HashMap<String, Object> map);
+
     @PostMapping(value = "api/v1/report/destination/selecttype1")
     Map<String, Object> selecttype1(@RequestBody(required = false) HashMap<String, Object> map,
                                     @RequestParam Integer apiId,

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

@@ -44,7 +44,7 @@ openfeign:
     url: ${WEBSOCKETFEIGN_URL:172.16.90.202:80}
   REPORTFeign:
     url: ${REPORTFEIGN_URL:172.16.90.202:8055}
-  #    url: ${REPORTFEIGN_URL:localhost:8055}
+#      url: ${REPORTFEIGN_URL:localhost:8055}
   TmiFeigh:
     url: ${TMI_URL:172.16.90.202:8018}
 #    url: ${TMI_URL:localhost:8018}