update 加注释

This commit is contained in:
2024-04-15 10:29:13 +08:00
parent 9afe92f15c
commit 64952f911b

View File

@@ -380,7 +380,8 @@ public class SpringBootTestController {
@Test
public void queryPaymentByOrderNoTest() {
String orderNo = "C84678771377_20240325162218";
String orderNo = "C88850447008_20240415083226";
String orderCode = orderNo.substring(0, orderNo.indexOf("_"));
String wechatAppId = wechatAppId1;
try {
// List<AdaPayment> adaPayments = adapayService.queryPaymentsByOrderNo(orderNo, wechatAppId);
@@ -392,7 +393,7 @@ public class SpringBootTestController {
paymentInfoSet.addAll(paymentInfos);
System.out.println("1111:" + JSON.toJSONString(paymentInfos));
List<OrderPayRecord> orderPayRecordList = orderPayRecordService.getOrderPayRecordList("C84678771377");
List<OrderPayRecord> orderPayRecordList = orderPayRecordService.getOrderPayRecordList(orderCode);
if (CollectionUtils.isNotEmpty(orderPayRecordList)) {
for (OrderPayRecord orderPayRecord : orderPayRecordList) {
List<PaymentInfo> paymentInfos2 = orderPayRecordService.parseDeductionRecord(orderPayRecord.getDeductionRecord());