mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
test方法
This commit is contained in:
@@ -3913,7 +3913,17 @@ public class SpringBootTestController {
|
||||
.orderServiceDiscountAmount(orderDetail.getDiscountServiceAmount())
|
||||
.orderRefundAmount(orderBasicInfo.getRefundAmount())
|
||||
.build();
|
||||
rabbitTemplate.convertAndSend(RabbitConstants.YKC_EXCHANGE_NAME, RabbitConstants.QUEUE_CHARGE_ORDER_DATA, afterSettleOrderDTO);
|
||||
System.out.println(JSON.toJSONString(afterSettleOrderDTO));
|
||||
|
||||
// for (int i = 0; i < 30; i++) {
|
||||
// // try {
|
||||
// // Thread.sleep(5000);
|
||||
// // } catch (InterruptedException e) {
|
||||
// // throw new RuntimeException(e);
|
||||
// // }
|
||||
// afterSettleOrderDTO.setOrderCode(orderCode + "_" + i);
|
||||
// rabbitTemplate.convertAndSend(RabbitConstants.YKC_EXCHANGE_NAME, RabbitConstants.QUEUE_CHARGE_ORDER_DATA, afterSettleOrderDTO);
|
||||
// }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user