Redeem пре 1 година
родитељ
комит
6c16cd7602

+ 1 - 1
pom.xml

@@ -6,7 +6,7 @@
 
     <groupId>org.example</groupId>
     <artifactId>dil-dazhou-api</artifactId>
-    <version>1.5</version>
+    <version>1.6</version>
 
     <parent>
         <groupId>org.springframework.boot</groupId>

+ 20 - 0
src/main/java/com/steerinfo/dil/controller/TMSController.java

@@ -2938,4 +2938,24 @@ public class TMSController extends BaseRESTfulController {
     public Map<String,Object> getOyeSteelReportDetailsBySmId(@RequestParam BigDecimal saleOrderMaterialId){
         return tmsTruckFeign.getOyeSteelReportDetailsBySmId(saleOrderMaterialId);
     }
+
+    @ApiOperation(value = "销售钢材运输情况统计报表")
+    @PostMapping("/oYeSteelTransportReport")
+    public Map<String,Object> oYeSteelTransportReport(@RequestBody(required = false)Map<String,Object>map,
+                                                   String startTime,
+                                                   String endTime){
+        if(map==null){
+            map=new HashMap<>();
+        }
+        return tmsTruckFeign.oYeSteelTransportReport(map,startTime,endTime);
+    }
+
+    @ApiOperation(value = "欠运力统计报表")
+    @PostMapping("/oYeYawnReport")
+    public Map<String,Object> oYeYawnReport(@RequestBody(required = false)Map<String,Object>map){
+        if(map==null){
+            map=new HashMap<>();
+        }
+        return tmsTruckFeign.oYeYawnReport(map);
+    }
 }

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

@@ -892,6 +892,12 @@ public interface TmsTruckFeign {
 
     @PostMapping("/api/v1/truckTms/statisticalReport/getOyeSteelReportDetailsBySmId")
     Map<String, Object> getOyeSteelReportDetailsBySmId(@RequestParam BigDecimal saleOrderMaterialId);
+
+    @PostMapping("/api/v1/truckTms/statisticalReport/oYeSteelTransportReport")
+    Map<String, Object> oYeSteelTransportReport(@RequestBody(required = false) Map<String, Object> map, @RequestParam String startTime,@RequestParam String endTime);
+
+    @PostMapping("/api/v1/truckTms/statisticalReport/oYeYawnReport")
+    Map<String, Object> oYeYawnReport(@RequestBody(required = false) Map<String, Object> map);
 }