优化
This commit is contained in:
+52
@@ -0,0 +1,52 @@
|
||||
package com.baiyue.common.event;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.time.Instant;
|
||||
import java.time.LocalDate;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 跨区域业务费用来源的完整不可变快照。
|
||||
*
|
||||
* <p>海外业务与国内 Finance 不做同步回查,因此事件必须携带可独立校验、入池的完整快照。
|
||||
* 标识统一使用字符串,避免跨语言大整数精度损失。</p>
|
||||
*/
|
||||
public record BusinessFeeSourceChangedV1(
|
||||
String action,
|
||||
String sourceSystem,
|
||||
String sourceType,
|
||||
String sourceFeeId,
|
||||
int sourceVersion,
|
||||
String customerId,
|
||||
String customerName,
|
||||
String sourceNo,
|
||||
String businessType,
|
||||
String businessId,
|
||||
String businessNo,
|
||||
String orderId,
|
||||
String inboundId,
|
||||
String inboundCode,
|
||||
String containerId,
|
||||
String containerBookingId,
|
||||
String containerNo,
|
||||
String warehouseId,
|
||||
String feeItemCode,
|
||||
String feeItemName,
|
||||
String direction,
|
||||
String supplierId,
|
||||
String supplierName,
|
||||
String supplierCategory,
|
||||
String settlementMode,
|
||||
Instant paidAt,
|
||||
String paymentMethod,
|
||||
String paymentReferenceNo,
|
||||
List<String> paymentVoucherFileIds,
|
||||
LocalDate businessDate,
|
||||
String currency,
|
||||
BigDecimal totalAmount,
|
||||
String reviewStatus,
|
||||
String publicationStatus,
|
||||
String sourceStatus,
|
||||
String sourceHash
|
||||
) {
|
||||
}
|
||||
@@ -13,6 +13,7 @@ public final class EventTypes {
|
||||
public static final String FIRST_LEG_CONTAINER_SHIPPING_NODE_RECORDED =
|
||||
"FirstLegContainerShippingNodeRecorded";
|
||||
public static final String OVERSEAS_CONTAINER_UNLOADED = "OverseasContainerUnloaded";
|
||||
public static final String BUSINESS_FEE_SOURCE_CHANGED = "BusinessFeeSourceChanged";
|
||||
public static final String IAM_USER_STATUS_CHANGED = "IamUserStatusChanged";
|
||||
public static final String IAM_TENANT_STATUS_CHANGED = "IamTenantStatusChanged";
|
||||
public static final String IAM_PERMISSION_VERSION_CHANGED = "IamPermissionVersionChanged";
|
||||
|
||||
Reference in New Issue
Block a user