Commit 18afea43691cfea475eaf58729b8189a76d9fe3e

Authored by 徐烜
1 parent 3936f35e

update

src/main/java/com/bsth/controller/CarsController.java
... ... @@ -9,5 +9,5 @@ import org.springframework.web.bind.annotation.RestController;
9 9 */
10 10 @RestController
11 11 @RequestMapping("cars")
12   -public class CarsController extends BaseController<Cars, Long> {
  12 +public class CarsController extends BaseController<Cars, Integer> {
13 13 }
... ...
src/main/java/com/bsth/service/CarsService.java
... ... @@ -5,5 +5,5 @@ import com.bsth.entity.Cars;
5 5 /**
6 6 * Created by xu on 16/5/31.
7 7 */
8   -public interface CarsService extends BaseService<Cars, Long> {
  8 +public interface CarsService extends BaseService<Cars, Integer> {
9 9 }
... ...
src/main/java/com/bsth/service/impl/CarsServiceImpl.java
... ... @@ -8,5 +8,5 @@ import org.springframework.stereotype.Service;
8 8 * Created by xu on 16/5/31.
9 9 */
10 10 @Service
11   -public class CarsServiceImpl extends BaseServiceImpl<Cars, Long> implements CarsService {
  11 +public class CarsServiceImpl extends BaseServiceImpl<Cars, Integer> implements CarsService {
12 12 }
... ...