Changeset f484b14 for src/main/java/com/example/autopartz/service/impl
- Timestamp:
- 01/06/23 02:51:45 (23 months ago)
- Branches:
- main
- Children:
- d4b888e
- Parents:
- 1bd8d1e
- Location:
- src/main/java/com/example/autopartz/service/impl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/autopartz/service/impl/CarServiceImpl.java
r1bd8d1e rf484b14 20 20 return carRepository.findAll(); 21 21 } 22 23 @Override 24 public Car findById(Integer id) { 25 return carRepository.findById(id).get(); 26 } 22 27 } -
src/main/java/com/example/autopartz/service/impl/RepairShopServiceImpl.java
r1bd8d1e rf484b14 20 20 return repairShopRepository.findAll(); 21 21 } 22 23 @Override 24 public RepairShop getByName(String name) { 25 return repairShopRepository.getRepairShopByName(name); 26 } 27 28 @Override 29 public RepairShop getById(Integer id) { 30 return repairShopRepository.findById(id).get(); 31 } 22 32 }
Note:
See TracChangeset
for help on using the changeset viewer.