fix(firstleg): map declaration inbound projection
This commit is contained in:
@@ -41,7 +41,7 @@ public interface OrderDeclarationSyncMapper {
|
||||
WHERE inbound.tenant_id=#{tenantId} AND inbound.order_id=#{orderId} AND inbound.deleted=0
|
||||
ORDER BY inbound.created_at DESC,inbound.id DESC LIMIT 1 FOR UPDATE
|
||||
""")
|
||||
GateRow lockInbound(@Param("tenantId") long tenantId, @Param("orderId") long orderId);
|
||||
InboundRow lockInbound(@Param("tenantId") long tenantId, @Param("orderId") long orderId);
|
||||
|
||||
@Select("SELECT tenant_id tenantId,order_id orderId,event_id eventId,order_version orderVersion,request_hash requestHash "
|
||||
+ "FROM fl_order_declaration_snapshot WHERE tenant_id=#{tenantId} AND order_id=#{orderId} FOR UPDATE")
|
||||
@@ -110,5 +110,7 @@ public interface OrderDeclarationSyncMapper {
|
||||
record GateRow(Long inboundId, Long orderId, String orderNo, String inboundCode, String processStatus,
|
||||
String channelCode, Integer incompatibleGroupCount, Integer splitCount,
|
||||
Integer preloadCount, Integer pdaCount) {}
|
||||
record InboundRow(Long inboundId, Long orderId, String orderNo, String inboundCode,
|
||||
String processStatus, String channelCode) {}
|
||||
record SnapshotRow(Long tenantId, Long orderId, String eventId, Integer orderVersion, String requestHash) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user