mirror of
https://github.com/cekis/swg-api
synced 2026-07-14 06:01:38 -04:00
Added Resources and Commodities
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package swg.service;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import swg.dao.ClockDao;
|
||||
import swg.entity.Clock;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
public class ClockService {
|
||||
@Autowired
|
||||
ClockDao clockDao;
|
||||
|
||||
public List<Clock> getLastSaveTime() {
|
||||
return this.clockDao.findAll();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user