|
@@ -4,6 +4,7 @@ import com.its.op.dao.repository.its.code.TbCmmnCdRepository;
|
|
|
import com.its.op.dao.repository.its.facility.TbFcltInfrRepository;
|
|
|
import com.its.op.dto.its.cctv.TbCctvCtlrDto;
|
|
|
import com.its.op.dto.its.common.NewIdLongDto;
|
|
|
+import com.its.op.dto.its.common.NewIdStringDto;
|
|
|
import com.its.op.dto.its.facility.FcltWorkStepDto;
|
|
|
import com.its.op.dto.its.facility.TbFcltInfrDto;
|
|
|
import com.its.op.dto.its.facility.UnRegisteredFcltInfrDto;
|
|
@@ -331,8 +332,8 @@ public class TbFcltInfrService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Transactional(readOnly = true)
|
|
|
- public NewIdLongDto getNewFcltId(String fcltType) {
|
|
|
- Long newId = this.repo.getNewFcltId(fcltType);
|
|
|
- return NewIdLongDto.builder().newId(newId).build();
|
|
|
+ public NewIdStringDto getNewFcltId(String fcltType) {
|
|
|
+ String newId = this.repo.getNewFcltId(fcltType);
|
|
|
+ return NewIdStringDto.builder().newId(newId).build();
|
|
|
}
|
|
|
}
|