mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
新增 宁波平台批量补推订单接口
This commit is contained in:
@@ -974,12 +974,13 @@ public class ZhongDianLianPlatformServiceImpl implements ThirdPartyPlatformServi
|
||||
ThirdPartySecretInfoVO ningBoSecretInfoVO = getNingBoSecretInfoVO();
|
||||
|
||||
// 根据站点id, 开始时间,结束时间查询出所有的订单信息
|
||||
List<OrderListVO> orderListVOS = orderBasicInfoService.selectOrderBasicInfoList(dto);
|
||||
if (CollectionUtils.isEmpty(orderListVOS)) {
|
||||
// List<OrderListVO> orderListVOS = orderBasicInfoService.selectOrderBasicInfoList(dto);
|
||||
List<String> orderCodes = orderBasicInfoService.tempGetOrderCodes(dto);
|
||||
if (CollectionUtils.isEmpty(orderCodes)) {
|
||||
return "订单信息为空";
|
||||
}
|
||||
List<String> orderCodeList = orderListVOS.stream().map(OrderListVO::getOrderCode).collect(Collectors.toList());
|
||||
for (String orderCode : orderCodeList) {
|
||||
// List<String> orderCodeList = orderListVOS.stream().map(OrderListVO::getOrderCode).collect(Collectors.toList());
|
||||
for (String orderCode : orderCodes) {
|
||||
try {
|
||||
String result = notificationChargeOrderInfo(orderCode, ningBoSecretInfoVO);
|
||||
logger.info("订单:{} 推送结果:{}", orderCode, result);
|
||||
|
||||
Reference in New Issue
Block a user