20 lines
374 B
Java
20 lines
374 B
Java
|
package co.jp.app.service;
|
||
|
|
||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||
|
import org.springframework.stereotype.Service;
|
||
|
|
||
|
import co.jp.app.entity.ErrorEntity;
|
||
|
import co.jp.app.repository.erraRepository;
|
||
|
|
||
|
|
||
|
@Service
|
||
|
public class erraService {
|
||
|
|
||
|
@Autowired
|
||
|
erraRepository erraDao;
|
||
|
|
||
|
public ErrorEntity getStatusById(int id) {
|
||
|
return erraDao.getById(id);
|
||
|
}
|
||
|
}
|