|
@@ -10,6 +10,7 @@ import org.apache.commons.lang3.StringUtils; |
|
@@ -10,6 +10,7 @@ import org.apache.commons.lang3.StringUtils; |
10
|
import org.slf4j.Logger;
|
10
|
import org.slf4j.Logger;
|
11
|
import org.slf4j.LoggerFactory;
|
11
|
import org.slf4j.LoggerFactory;
|
12
|
import org.springframework.beans.factory.annotation.Autowired;
|
12
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
13
|
+import org.springframework.web.bind.annotation.RequestBody;
|
13
|
import org.springframework.web.bind.annotation.RequestMapping;
|
14
|
import org.springframework.web.bind.annotation.RequestMapping;
|
14
|
import org.springframework.web.bind.annotation.RequestParam;
|
15
|
import org.springframework.web.bind.annotation.RequestParam;
|
15
|
import org.springframework.web.bind.annotation.RestController;
|
16
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -534,6 +535,16 @@ public class BuyerOrderController { |
|
@@ -534,6 +535,16 @@ public class BuyerOrderController { |
534
|
PageResponseBO<String> result = buyerOrderService.queryAbnormalPackage(req);
|
535
|
PageResponseBO<String> result = buyerOrderService.queryAbnormalPackage(req);
|
535
|
return new ApiResponse.ApiResponseBuilder().code(200).message("查询成功").data(null == result ? new PageResponseBO<BuyerOrderResp>() : result).build();
|
536
|
return new ApiResponse.ApiResponseBuilder().code(200).message("查询成功").data(null == result ? new PageResponseBO<BuyerOrderResp>() : result).build();
|
536
|
}
|
537
|
}
|
|
|
538
|
+
|
|
|
539
|
+ @RequestMapping(value = "/queryIsExistCsCancelOrder")
|
|
|
540
|
+ public ApiResponse queryIsExistCsCancelOrder(BuyerOrderReq req) {
|
|
|
541
|
+ LOGGER.info("queryIsExistCsCancelOrder in. param is {}", req);
|
|
|
542
|
+ if(StringUtils.isEmpty(req.getSellerWaybillCode())) {
|
|
|
543
|
+ return new ApiResponse.ApiResponseBuilder().code(400).message("卖家快递单号不能为空").build();
|
|
|
544
|
+ }
|
|
|
545
|
+ boolean result = buyerOrderService.queryIsExistCsCancleOrder(req.getSellerWaybillCode());
|
|
|
546
|
+ return new ApiResponse.ApiResponseBuilder().code(200).message("查询成功").data(result).build();
|
|
|
547
|
+ }
|
537
|
|
548
|
|
538
|
|
549
|
|
539
|
@RequestMapping(value = "/queryIdentifyCenter")
|
550
|
@RequestMapping(value = "/queryIdentifyCenter")
|