优化
This commit is contained in:
@@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestHeader;
|
||||
|
||||
import java.util.List;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/** Internal read contract for Firstleg co-load group aggregation. */
|
||||
@FeignClient(name = "firstleg-service", contextId = "orderFirstlegColoadGroupClient",
|
||||
@@ -18,6 +19,9 @@ public interface FirstlegColoadGroupClient {
|
||||
|
||||
record BatchQueryRequest(List<Long> orderIds) {}
|
||||
record OrderGroupInfo(Long orderId, GroupSnapshot group) {}
|
||||
record GroupSnapshot(String status, List<Member> members) {}
|
||||
record Member(Long orderId) {}
|
||||
record GroupSnapshot(Long groupId, String groupNo, String status, Long warehouseId,
|
||||
String channelCode, Long lockedPlanId, Integer version,
|
||||
List<Member> members, Integer fullPackageCount,
|
||||
LocalDateTime createdAt, LocalDateTime updatedAt) {}
|
||||
record Member(Long tenantId, Long orderId, Long inboundId, Integer fullPackageCount) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user