支持柜费按订单归属分摊

This commit is contained in:
2026-09-02 18:14:25 +08:00
parent 62855915fc
commit 596a5c925c
2 changed files with 12 additions and 5 deletions
@@ -248,7 +248,7 @@ class ContainerFeeDetailServiceTest {
LocalDate.of(2026, 8, 20), new BigDecimal("300.00"), "CNY", null, "柜级操作费");
var request = new AllocationGroupRequest(fee, List.of(
new Allocation(10001L, 501L, "FL-501", null, null, new BigDecimal("120.00")),
new Allocation(10002L, 502L, "FL-502", 602L, "IB-602", new BigDecimal("180.00"))));
new Allocation(10002L, 502L, "FL-502", null, null, new BigDecimal("180.00"))));
List<ContainerFeeDetailEntity> result = service.createAllocationGroup(41L, 9L, request);