优化
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user