|
@@ -6,10 +6,12 @@ import io.swagger.annotations.ApiImplicitParams;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
import org.springframework.http.MediaType;
|
|
import org.springframework.http.MediaType;
|
|
|
|
+import org.springframework.util.MultiValueMap;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.multipart.MultipartRequest;
|
|
import org.springframework.web.multipart.MultipartRequest;
|
|
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -507,6 +509,42 @@ public interface TmsTruckFeign {
|
|
@RequestParam Integer pageSize,
|
|
@RequestParam Integer pageSize,
|
|
@RequestParam String startTime,
|
|
@RequestParam String startTime,
|
|
@RequestParam String endTime);
|
|
@RequestParam String endTime);
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ @PostMapping("api/v1/truckTms/statisticalReport/getCapacityByDefend")
|
|
|
|
+ Map<String, Object> getCapacityByDefend(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ @RequestParam Integer apiId,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
|
+ @RequestParam String con
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ @PostMapping("api/v1/truckTms/tmstruckreceiptresults/getReceiptResult")
|
|
|
|
+ Map<String, Object> getReceiptResult(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ @RequestParam Integer apiId,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
|
+ @RequestParam String con,
|
|
|
|
+ @RequestParam String startTime,
|
|
|
|
+ @RequestParam String endTime
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ @PostMapping("api/v1/truckTms/tmstruckreceiptresults/getReceiptPhoto")
|
|
|
|
+ String getReceiptPhoto(@RequestParam String orderNumber);
|
|
|
|
+
|
|
|
|
+ @PostMapping("api/v1/truckTms/tmstruckreceiptresults/getReceivingResult")
|
|
|
|
+ Map<String, Object> getReceivingResult(@RequestBody(required = false) Map<String, Object> mapValue,
|
|
|
|
+ @RequestParam Integer apiId,
|
|
|
|
+ @RequestParam Integer pageNum,
|
|
|
|
+ @RequestParam Integer pageSize,
|
|
|
|
+ @RequestParam String con,
|
|
|
|
+ @RequestParam String startTime,
|
|
|
|
+ @RequestParam String endTime
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ @PostMapping("api/v1/truckTms/tmstruckreceiptresults/getReceivingPhoto")
|
|
|
|
+ Map<String,Object> getReceivingPhoto(@RequestParam String orderNumber);
|
|
|
|
+
|
|
@PostMapping("/api/v1/truckTms/pathDisplay/fullPath")
|
|
@PostMapping("/api/v1/truckTms/pathDisplay/fullPath")
|
|
public Object fullPath(@RequestParam("orderNumber") String orderNumber) throws Exception;
|
|
public Object fullPath(@RequestParam("orderNumber") String orderNumber) throws Exception;
|
|
@PostMapping("/api/v1/truckTms/pathDisplay/getInTransitTransportation")
|
|
@PostMapping("/api/v1/truckTms/pathDisplay/getInTransitTransportation")
|
|
@@ -517,8 +555,20 @@ public interface TmsTruckFeign {
|
|
@PostMapping(value = "/api/v1/truckTms/tmstruckarrivalresults/addtmstruckArrivalResult",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
@PostMapping(value = "/api/v1/truckTms/tmstruckarrivalresults/addtmstruckArrivalResult",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
public RESTfulResult addtmstruckArrivalResult(@RequestParam("orderNumber")String orderNumber, @RequestParam("resultArrivalAddress")String resultArrivalAddress,@RequestPart("file") MultipartFile file);
|
|
public RESTfulResult addtmstruckArrivalResult(@RequestParam("orderNumber")String orderNumber, @RequestParam("resultArrivalAddress")String resultArrivalAddress,@RequestPart("file") MultipartFile file);
|
|
|
|
|
|
- @PostMapping(value = "/api/v1/truckTms/pathDisplay/addTmstruckReceiptResult", headers = "content-type=multipart/form-data",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
|
- public RESTfulResult addTmstruckReceiptResult(@RequestPart("file")MultipartRequest request,@RequestParam("num") Integer num,@RequestParam("orderNumber") String orderNumber, @RequestParam("resultArrivalAddress")String resultArrivalAddress,@RequestParam("imgcount3") Integer imgcount3, @RequestParam("imgcount4")Integer imgcount4);
|
|
|
|
|
|
+ @PostMapping(value = "/api/v1/truckTms/pathDisplay/addTmstruckReceiptResult")
|
|
|
|
+ public RESTfulResult addTmstruckReceiptResult(@RequestBody Map<String,Object> mapValaue , @RequestParam("num") Integer num, @RequestParam("orderNumber") String orderNumber, @RequestParam("resultArrivalAddress")String resultArrivalAddress, @RequestParam("imgcount3") Integer imgcount3, @RequestParam("imgcount4")Integer imgcount4);
|
|
|
|
+
|
|
|
|
+ @PostMapping(value = "/api/v1/truckTms/tmstruckarrivalresults/uploadImage",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
|
+ public String uploadImage(@RequestParam("orderNumber")String orderNumber,@RequestPart("file") MultipartFile file);
|
|
|
|
+
|
|
|
|
+// @PostMapping(value = "/api/v1/truckTms/pathDisplay/addTmstruckReceiptResult", headers = "content-type=multipart/form-data",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
|
+// public RESTfulResult addTmstruckReceiptResult(@RequestPart("file")MultipartRequest request,@RequestParam("num") Integer num,@RequestParam("orderNumber") String orderNumber, @RequestParam("resultArrivalAddress")String resultArrivalAddress,@RequestParam("imgcount3") Integer imgcount3, @RequestParam("imgcount4")Integer imgcount4);
|
|
|
|
+ @PostMapping("/api/v1/truckTms/pathDisplay/getFinishTruckOrderInfo")
|
|
|
|
+ public RESTfulResult getFinishTruckOrderInfo(@RequestBody Map<String,Object> mapValue,
|
|
|
|
+ @RequestParam(required = true,defaultValue = "468",name = "apiId")Integer apiId,
|
|
|
|
+ @RequestParam(required = false,defaultValue = "1",name = "pageNum")Integer pageNum,
|
|
|
|
+ @RequestParam(required = false,defaultValue = "20",name = "pageSize")Integer pageSize
|
|
|
|
+ );
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|