Commit 897c17f8372a254e803df30673c3da1780a3fb94
1 parent
196bcda5
Signed-off-by: bsthlq <2519941818@qq.com>
Showing
10 changed files
with
206 additions
and
2 deletions
src/main/java/com/bsth/controller/SectionController.java
0 → 100644
| 1 | +package com.bsth.controller; | |
| 2 | + | |
| 3 | +import org.springframework.web.bind.annotation.RequestMapping; | |
| 4 | +import org.springframework.web.bind.annotation.RestController; | |
| 5 | + | |
| 6 | +import com.bsth.entity.Section; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * | |
| 10 | + * @ClassName: SectionController(路段控制器) | |
| 11 | + * | |
| 12 | + * @Extends : BaseController | |
| 13 | + * | |
| 14 | + * @Description: TODO(路段控制层) | |
| 15 | + * | |
| 16 | + * @Author bsth@lq | |
| 17 | + * | |
| 18 | + * @Date 2016年05月03日 上午9:21:17 | |
| 19 | + * | |
| 20 | + * @Version 公交调度系统BS版 0.1 | |
| 21 | + * | |
| 22 | + */ | |
| 23 | + | |
| 24 | +@RestController | |
| 25 | +@RequestMapping("section") | |
| 26 | +public class SectionController extends BaseController<Section, Integer> { | |
| 27 | + | |
| 28 | +} | ... | ... |
src/main/java/com/bsth/controller/SectionRouteController.java
0 → 100644
| 1 | +package com.bsth.controller; | |
| 2 | + | |
| 3 | +import org.springframework.web.bind.annotation.RequestMapping; | |
| 4 | +import org.springframework.web.bind.annotation.RestController; | |
| 5 | + | |
| 6 | +import com.bsth.entity.SectionRoute; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * | |
| 10 | + * @ClassName: SectionRouteController(路段路由控制器) | |
| 11 | + * | |
| 12 | + * @Extends : BaseController | |
| 13 | + * | |
| 14 | + * @Description: TODO(路段路由控制层) | |
| 15 | + * | |
| 16 | + * @Author bsth@lq | |
| 17 | + * | |
| 18 | + * @Date 2016年05月03日 上午9:21:17 | |
| 19 | + * | |
| 20 | + * @Version 公交调度系统BS版 0.1 | |
| 21 | + * | |
| 22 | + */ | |
| 23 | + | |
| 24 | +@RestController | |
| 25 | +@RequestMapping("sectionroute") | |
| 26 | +public class SectionRouteController extends BaseController<SectionRoute, Integer> { | |
| 27 | + | |
| 28 | +} | ... | ... |
src/main/java/com/bsth/controller/StationController.java
src/main/java/com/bsth/controller/StationRouteController.java
src/main/java/com/bsth/repository/SectionRepository.java
0 → 100644
| 1 | +package com.bsth.repository; | |
| 2 | + | |
| 3 | +import org.springframework.stereotype.Repository; | |
| 4 | + | |
| 5 | +import com.bsth.entity.Section; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * | |
| 9 | + * @Interface: SectionRepository(路段Repository数据持久层接口) | |
| 10 | + * | |
| 11 | + * @Extends : BaseRepository | |
| 12 | + * | |
| 13 | + * @Description: TODO(路段Repository数据持久层接口) | |
| 14 | + * | |
| 15 | + * @Author bsth@lq | |
| 16 | + * | |
| 17 | + * @Date 2016年05月03日 上午9:21:17 | |
| 18 | + * | |
| 19 | + * @Version 公交调度系统BS版 0.1 | |
| 20 | + * | |
| 21 | + */ | |
| 22 | + | |
| 23 | +@Repository | |
| 24 | +public interface SectionRepository extends BaseRepository<Section, Integer> { | |
| 25 | + | |
| 26 | +} | ... | ... |
src/main/java/com/bsth/repository/SectionRouteRepository.java
0 → 100644
| 1 | +package com.bsth.repository; | |
| 2 | + | |
| 3 | +import org.springframework.stereotype.Repository; | |
| 4 | + | |
| 5 | +import com.bsth.entity.SectionRoute; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * | |
| 9 | + * @Interface: SectionRouteRepository(路段路由Repository数据持久层接口) | |
| 10 | + * | |
| 11 | + * @Extends : BaseRepository | |
| 12 | + * | |
| 13 | + * @Description: TODO(路段路由Repository数据持久层接口) | |
| 14 | + * | |
| 15 | + * @Author bsth@lq | |
| 16 | + * | |
| 17 | + * @Date 2016年05月03日 上午9:21:17 | |
| 18 | + * | |
| 19 | + * @Version 公交调度系统BS版 0.1 | |
| 20 | + * | |
| 21 | + */ | |
| 22 | + | |
| 23 | +@Repository | |
| 24 | +public interface SectionRouteRepository extends BaseRepository<SectionRoute, Integer> { | |
| 25 | + | |
| 26 | +} | ... | ... |
src/main/java/com/bsth/service/SectionRouteService.java
0 → 100644
| 1 | +package com.bsth.service; | |
| 2 | + | |
| 3 | +import com.bsth.entity.SectionRoute; | |
| 4 | + | |
| 5 | +/** | |
| 6 | + * | |
| 7 | + * @Interface: SectionRouteService(路段路由service业务层实现接口) | |
| 8 | + * | |
| 9 | + * @extends : BaseService | |
| 10 | + * | |
| 11 | + * @Description: TODO(路段路由service业务层实现接口) | |
| 12 | + * | |
| 13 | + * @Author bsth@lq | |
| 14 | + * | |
| 15 | + * @Date 2016年05月03日 上午9:21:17 | |
| 16 | + * | |
| 17 | + * @Version 公交调度系统BS版 0.1 | |
| 18 | + * | |
| 19 | + */ | |
| 20 | +public interface SectionRouteService extends BaseService<SectionRoute, Integer> { | |
| 21 | + | |
| 22 | +} | ... | ... |
src/main/java/com/bsth/service/SectionService.java
0 → 100644
| 1 | +package com.bsth.service; | |
| 2 | + | |
| 3 | +import com.bsth.entity.Section; | |
| 4 | + | |
| 5 | +/** | |
| 6 | + * | |
| 7 | + * @Interface: SectionService(路段service业务层实现接口) | |
| 8 | + * | |
| 9 | + * @extends : BaseService | |
| 10 | + * | |
| 11 | + * @Description: TODO(路段service业务层实现接口) | |
| 12 | + * | |
| 13 | + * @Author bsth@lq | |
| 14 | + * | |
| 15 | + * @Date 2016年05月03日 上午9:21:17 | |
| 16 | + * | |
| 17 | + * @Version 公交调度系统BS版 0.1 | |
| 18 | + * | |
| 19 | + */ | |
| 20 | +public interface SectionService extends BaseService<Section, Integer> { | |
| 21 | + | |
| 22 | +} | ... | ... |
src/main/java/com/bsth/service/impl/SectionRouteServiceImpl.java
0 → 100644
| 1 | +package com.bsth.service.impl; | |
| 2 | + | |
| 3 | +import org.springframework.stereotype.Service; | |
| 4 | + | |
| 5 | +import com.bsth.entity.SectionRoute; | |
| 6 | +import com.bsth.service.SectionRouteService; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * | |
| 10 | + * @ClassName: SectionRouteServiceImpl(路段路由service业务层实现类) | |
| 11 | + * | |
| 12 | + * @Extends : BaseService | |
| 13 | + * | |
| 14 | + * @Description: TODO(路段路由service业务层) | |
| 15 | + * | |
| 16 | + * @Author bsth@lq | |
| 17 | + * | |
| 18 | + * @Date 2016年05月03日 上午9:21:17 | |
| 19 | + * | |
| 20 | + * @Version 公交调度系统BS版 0.1 | |
| 21 | + * | |
| 22 | + */ | |
| 23 | + | |
| 24 | +@Service | |
| 25 | +public class SectionRouteServiceImpl extends BaseServiceImpl<SectionRoute, Integer> implements SectionRouteService{ | |
| 26 | + | |
| 27 | +} | ... | ... |
src/main/java/com/bsth/service/impl/SectionServiceImpl.java
0 → 100644
| 1 | +package com.bsth.service.impl; | |
| 2 | + | |
| 3 | +import org.springframework.stereotype.Service; | |
| 4 | + | |
| 5 | +import com.bsth.entity.Section; | |
| 6 | +import com.bsth.service.SectionService; | |
| 7 | + | |
| 8 | +/** | |
| 9 | + * | |
| 10 | + * @ClassName: SectionServiceImpl(路段service业务层实现类) | |
| 11 | + * | |
| 12 | + * @Extends : BaseService | |
| 13 | + * | |
| 14 | + * @Description: TODO(路段service业务层) | |
| 15 | + * | |
| 16 | + * @Author bsth@lq | |
| 17 | + * | |
| 18 | + * @Date 2016年05月03日 上午9:21:17 | |
| 19 | + * | |
| 20 | + * @Version 公交调度系统BS版 0.1 | |
| 21 | + * | |
| 22 | + */ | |
| 23 | + | |
| 24 | +@Service | |
| 25 | +public class SectionServiceImpl extends BaseServiceImpl<Section, Integer> implements SectionService{ | |
| 26 | + | |
| 27 | +} | ... | ... |