Commit 3936f35e5813ba2a4aa87940da999dd82b45e406
1 parent
4b5c33aa
update
Showing
3 changed files
with
34 additions
and
0 deletions
src/main/java/com/bsth/controller/CarsController.java
0 → 100644
| 1 | +package com.bsth.controller; | ||
| 2 | + | ||
| 3 | +import com.bsth.entity.Cars; | ||
| 4 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
| 5 | +import org.springframework.web.bind.annotation.RestController; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * Created by xu on 16/5/31. | ||
| 9 | + */ | ||
| 10 | +@RestController | ||
| 11 | +@RequestMapping("cars") | ||
| 12 | +public class CarsController extends BaseController<Cars, Long> { | ||
| 13 | +} |
src/main/java/com/bsth/service/CarsService.java
0 → 100644
src/main/java/com/bsth/service/impl/CarsServiceImpl.java
0 → 100644
| 1 | +package com.bsth.service.impl; | ||
| 2 | + | ||
| 3 | +import com.bsth.entity.Cars; | ||
| 4 | +import com.bsth.service.CarsService; | ||
| 5 | +import org.springframework.stereotype.Service; | ||
| 6 | + | ||
| 7 | +/** | ||
| 8 | + * Created by xu on 16/5/31. | ||
| 9 | + */ | ||
| 10 | +@Service | ||
| 11 | +public class CarsServiceImpl extends BaseServiceImpl<Cars, Long> implements CarsService { | ||
| 12 | +} |