通过交易流水号查询订单信息

This commit is contained in:
2023-03-13 16:06:18 +08:00
parent 9a0692a0f6
commit 6f74b99fb3
7 changed files with 50 additions and 8 deletions

View File

@@ -30,6 +30,8 @@ public class CacheConstants {
*/
public static final String GET_ORDER_INFO_BY_ORDER_CODE = "get_order_info_by_order_code:";
public static final String GET_ORDER_INFO_BY_TRANSACTION_CODE = "get_order_info_by_transaction_code:";
/**
* 充电枪口实时监控数据
*/

View File

@@ -18,9 +18,10 @@ import org.apache.commons.lang3.builder.ToStringStyle;
@AllArgsConstructor
@Builder
public class TransactionRecordsData {
// private String orderCode;
// 交易流水号
private String orderCode;
private String transactionCode;
// 桩编码
private String pileSn;
@@ -121,7 +122,7 @@ public class TransactionRecordsData {
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.JSON_STYLE)
.append("orderCode", orderCode)
.append("transactionCode", transactionCode)
.append("pileSn", pileSn)
.append("connectorCode", connectorCode)
.append("startTime", startTime)