mirror of
https://github.com/cekis/swg-api
synced 2026-07-13 22:01:02 -04:00
18 lines
380 B
Java
18 lines
380 B
Java
package swg.service;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import swg.repository.ClockDao;
|
|
import swg.entity.Clock;
|
|
|
|
import java.util.List;
|
|
|
|
@Service
|
|
public class ClockService {
|
|
@Autowired
|
|
ClockDao clockDao;
|
|
|
|
public List<Clock> getLastSaveTime() {
|
|
return this.clockDao.findAll();
|
|
}
|
|
} |