From d49c8d604d547cc8d139975f09376cbcebaf8084 Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Mon, 3 May 2021 15:02:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=B2=E5=B8=88=E5=8C=85=E6=95=B4=E5=90=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/teacher}/TeacherController.java | 8 ++++---- .../tenlion/{teacher => }/dao/teacher/ITeacherDao.java | 4 ++-- .../pojo/dtos => pojo/dtos/teacher}/TeacherDTO.java | 2 +- .../pojo/vos => pojo/vos/teacher}/TeacherVO.java | 2 +- .../{teacher => service}/service/ITeacherService.java | 6 +++--- .../service/impl/TeacherServiceImpl.java | 10 +++++----- .../mybatis/mapper/teacher/teacher-mapper.xml | 4 ++-- 7 files changed, 18 insertions(+), 18 deletions(-) rename src/main/java/cn/com/tenlion/{teacher/controller/apis => controller/api/teacher}/TeacherController.java (95%) rename src/main/java/cn/com/tenlion/{teacher => }/dao/teacher/ITeacherDao.java (90%) rename src/main/java/cn/com/tenlion/{teacher/pojo/dtos => pojo/dtos/teacher}/TeacherDTO.java (99%) rename src/main/java/cn/com/tenlion/{teacher/pojo/vos => pojo/vos/teacher}/TeacherVO.java (99%) rename src/main/java/cn/com/tenlion/{teacher => service}/service/ITeacherService.java (91%) rename src/main/java/cn/com/tenlion/{teacher => service}/service/impl/TeacherServiceImpl.java (92%) diff --git a/src/main/java/cn/com/tenlion/teacher/controller/apis/TeacherController.java b/src/main/java/cn/com/tenlion/controller/api/teacher/TeacherController.java similarity index 95% rename from src/main/java/cn/com/tenlion/teacher/controller/apis/TeacherController.java rename to src/main/java/cn/com/tenlion/controller/api/teacher/TeacherController.java index 5ee7876..57720fc 100644 --- a/src/main/java/cn/com/tenlion/teacher/controller/apis/TeacherController.java +++ b/src/main/java/cn/com/tenlion/controller/api/teacher/TeacherController.java @@ -1,8 +1,8 @@ -package cn.com.tenlion.teacher.controller.apis; +package cn.com.tenlion.controller.api.teacher; -import cn.com.tenlion.teacher.pojo.dtos.TeacherDTO; -import cn.com.tenlion.teacher.pojo.vos.TeacherVO; -import cn.com.tenlion.teacher.service.ITeacherService; +import cn.com.tenlion.pojo.dtos.teacher.TeacherDTO; +import cn.com.tenlion.pojo.vos.teacher.TeacherVO; +import cn.com.tenlion.service.service.ITeacherService; import ink.wgink.common.base.DefaultBaseController; import ink.wgink.exceptions.RemoveException; import ink.wgink.exceptions.SearchException; diff --git a/src/main/java/cn/com/tenlion/teacher/dao/teacher/ITeacherDao.java b/src/main/java/cn/com/tenlion/dao/teacher/ITeacherDao.java similarity index 90% rename from src/main/java/cn/com/tenlion/teacher/dao/teacher/ITeacherDao.java rename to src/main/java/cn/com/tenlion/dao/teacher/ITeacherDao.java index ab277c0..4e5eec1 100644 --- a/src/main/java/cn/com/tenlion/teacher/dao/teacher/ITeacherDao.java +++ b/src/main/java/cn/com/tenlion/dao/teacher/ITeacherDao.java @@ -1,6 +1,6 @@ -package cn.com.tenlion.teacher.dao.teacher; +package cn.com.tenlion.dao.teacher; -import cn.com.tenlion.teacher.pojo.dtos.TeacherDTO; +import cn.com.tenlion.pojo.dtos.teacher.TeacherDTO; import org.springframework.stereotype.Repository; import java.util.List; diff --git a/src/main/java/cn/com/tenlion/teacher/pojo/dtos/TeacherDTO.java b/src/main/java/cn/com/tenlion/pojo/dtos/teacher/TeacherDTO.java similarity index 99% rename from src/main/java/cn/com/tenlion/teacher/pojo/dtos/TeacherDTO.java rename to src/main/java/cn/com/tenlion/pojo/dtos/teacher/TeacherDTO.java index a99e3cb..17dcfd3 100644 --- a/src/main/java/cn/com/tenlion/teacher/pojo/dtos/TeacherDTO.java +++ b/src/main/java/cn/com/tenlion/pojo/dtos/teacher/TeacherDTO.java @@ -1,4 +1,4 @@ -package cn.com.tenlion.teacher.pojo.dtos; +package cn.com.tenlion.pojo.dtos.teacher; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; diff --git a/src/main/java/cn/com/tenlion/teacher/pojo/vos/TeacherVO.java b/src/main/java/cn/com/tenlion/pojo/vos/teacher/TeacherVO.java similarity index 99% rename from src/main/java/cn/com/tenlion/teacher/pojo/vos/TeacherVO.java rename to src/main/java/cn/com/tenlion/pojo/vos/teacher/TeacherVO.java index a4dcc22..c4f7430 100644 --- a/src/main/java/cn/com/tenlion/teacher/pojo/vos/TeacherVO.java +++ b/src/main/java/cn/com/tenlion/pojo/vos/teacher/TeacherVO.java @@ -1,4 +1,4 @@ -package cn.com.tenlion.teacher.pojo.vos; +package cn.com.tenlion.pojo.vos.teacher; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; diff --git a/src/main/java/cn/com/tenlion/teacher/service/ITeacherService.java b/src/main/java/cn/com/tenlion/service/service/ITeacherService.java similarity index 91% rename from src/main/java/cn/com/tenlion/teacher/service/ITeacherService.java rename to src/main/java/cn/com/tenlion/service/service/ITeacherService.java index a3b6090..5b40dff 100644 --- a/src/main/java/cn/com/tenlion/teacher/service/ITeacherService.java +++ b/src/main/java/cn/com/tenlion/service/service/ITeacherService.java @@ -1,7 +1,7 @@ -package cn.com.tenlion.teacher.service; +package cn.com.tenlion.service.service; -import cn.com.tenlion.teacher.pojo.dtos.TeacherDTO; -import cn.com.tenlion.teacher.pojo.vos.TeacherVO; +import cn.com.tenlion.pojo.dtos.teacher.TeacherDTO; +import cn.com.tenlion.pojo.vos.teacher.TeacherVO; import ink.wgink.exceptions.RemoveException; import ink.wgink.exceptions.SearchException; import ink.wgink.pojo.ListPage; diff --git a/src/main/java/cn/com/tenlion/teacher/service/impl/TeacherServiceImpl.java b/src/main/java/cn/com/tenlion/service/service/impl/TeacherServiceImpl.java similarity index 92% rename from src/main/java/cn/com/tenlion/teacher/service/impl/TeacherServiceImpl.java rename to src/main/java/cn/com/tenlion/service/service/impl/TeacherServiceImpl.java index 97020e0..b8eb0c0 100644 --- a/src/main/java/cn/com/tenlion/teacher/service/impl/TeacherServiceImpl.java +++ b/src/main/java/cn/com/tenlion/service/service/impl/TeacherServiceImpl.java @@ -1,9 +1,9 @@ -package cn.com.tenlion.teacher.service.impl; +package cn.com.tenlion.service.service.impl; -import cn.com.tenlion.teacher.dao.teacher.ITeacherDao; -import cn.com.tenlion.teacher.pojo.dtos.TeacherDTO; -import cn.com.tenlion.teacher.pojo.vos.TeacherVO; -import cn.com.tenlion.teacher.service.ITeacherService; +import cn.com.tenlion.dao.teacher.ITeacherDao; +import cn.com.tenlion.pojo.dtos.teacher.TeacherDTO; +import cn.com.tenlion.pojo.vos.teacher.TeacherVO; +import cn.com.tenlion.service.service.ITeacherService; import com.github.pagehelper.PageHelper; import com.github.pagehelper.PageInfo; import ink.wgink.common.base.DefaultBaseService; diff --git a/src/main/resources/mybatis/mapper/teacher/teacher-mapper.xml b/src/main/resources/mybatis/mapper/teacher/teacher-mapper.xml index 58512f3..0805904 100644 --- a/src/main/resources/mybatis/mapper/teacher/teacher-mapper.xml +++ b/src/main/resources/mybatis/mapper/teacher/teacher-mapper.xml @@ -1,8 +1,8 @@ - + - +