260716_01_ENH: 가용번호 조회 API 추가

This commit is contained in:
2026-07-16 10:57:55 +09:00
parent fb40dfb483
commit 7ca0fe409f
7 changed files with 111 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
package com.kri.intranet.extension.service;
import com.kri.intranet.extension.dto.telnum.response.GetCallerTelNumResponseDto;
import com.kri.intranet.extension.mapper.TelNumMapper;
import java.util.List;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
@Service
@RequiredArgsConstructor
public class TelNumService {
private final TelNumMapper telNumMapper;
public List<GetCallerTelNumResponseDto> getCallerTelNum() {
return telNumMapper.getCallerTelNum().stream()
.map(GetCallerTelNumResponseDto::of)
.toList();
}
}