This commit is contained in:
2026-08-08 14:13:28 +08:00
parent ef5878a85d
commit 87508bba82
7 changed files with 976 additions and 2 deletions
@@ -44,7 +44,7 @@ public class OverseasStorageFeeService {
public OverseasStorageFeeDtos.View detailByTenant(long tenantId) {
OverseasStorageFeeRuleEntity rule = repository.page(new OverseasStorageFeeDtos.PageQuery(1, 1, tenantId, null))
.records().stream().findFirst().orElseThrow(() -> new BizException(ResultCode.NOT_FOUND, "海外仓费用不存在"));
return detail(rule.getId());
return view(rule, repository.findTiers(List.of(rule.getId())));
}
@Transactional