+ * 用户管理列表 + *
+ * + * @author Qyq + * @since 2021-03-17 + */ +@Data +@ToString +public class UserInfoListRes implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 用户id + */ + @TableId(value = "userId", type = IdType.AUTO) + private Integer userId; + + /** + * 用户账号 + */ + private String account; + + /** + * 用户姓名 + */ + private String userName; + + /** + * 学校名称 + */ + private String schoolName; + + /** + * 平台来源 + */ + private String platformName; + + /** + * 手机号 + */ + private String phone; + + /** + * 创建时间 + */ + private String creationTime; + + /** + * 登录次数 + */ + private Integer logInNumber; + +} diff --git a/src/main/java/com/yipin/liuwanr/entity/vo/UserInfoReq.java b/src/main/java/com/yipin/liuwanr/entity/vo/UserInfoReq.java new file mode 100644 index 0000000..1d1cff3 --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/entity/vo/UserInfoReq.java @@ -0,0 +1,25 @@ +package com.yipin.liuwanr.entity.vo; + +import lombok.Data; + +/** + * @Author chen + * @DATE 2021/6/7 16:20 + * @Version 1.0 + */ +@Data +public class UserInfoReq { + + private String countries; + private Integer provinceId; + private Integer cityId; + private Integer page; + private Integer size; + private Integer schoolId; + private String roleId; + private String searchContent; + private Integer month; + private String creationTime; + private String endTime; + private Integer platformId; +} diff --git a/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java b/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java index 4396b3b..9967e03 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/AssesmentMapper.java @@ -4,22 +4,14 @@ import java.util.List; import com.yipin.liuwanr.entity.*; import com.yipin.liuwanr.entity.Class; -import org.apache.ibatis.annotations.Delete; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Many; -import org.apache.ibatis.annotations.Options; -import org.apache.ibatis.annotations.Param; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; /** * 考核 * @author 或然 * */ - +@Mapper public interface AssesmentMapper { diff --git a/src/main/java/com/yipin/liuwanr/mapper/AssesmentRecordMapper.java b/src/main/java/com/yipin/liuwanr/mapper/AssesmentRecordMapper.java index 0de0d8c..46a6f87 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/AssesmentRecordMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/AssesmentRecordMapper.java @@ -1,5 +1,6 @@ package com.yipin.liuwanr.mapper; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; @@ -10,6 +11,7 @@ import com.yipin.liuwanr.vo.AssesmentRecordVo; * @author 或然 * */ +@Mapper public interface AssesmentRecordMapper { /** diff --git a/src/main/java/com/yipin/liuwanr/mapper/AttendanceMapper.java b/src/main/java/com/yipin/liuwanr/mapper/AttendanceMapper.java index c87010c..ad7f116 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/AttendanceMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/AttendanceMapper.java @@ -2,11 +2,12 @@ package com.yipin.liuwanr.mapper; import java.util.List; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import com.yipin.liuwanr.entity.Attendance; - +@Mapper public interface AttendanceMapper { /** diff --git a/src/main/java/com/yipin/liuwanr/mapper/CityMapper.java b/src/main/java/com/yipin/liuwanr/mapper/CityMapper.java index 4e122e9..1143ded 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/CityMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/CityMapper.java @@ -4,9 +4,10 @@ import java.util.List; import com.yipin.liuwanr.entity.StudentCity; import org.apache.ibatis.annotations.Insert; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; - +@Mapper public interface CityMapper { @Insert("INSERT INTO studentCity(cityName,provinceId,isdel)" diff --git a/src/main/java/com/yipin/liuwanr/mapper/ClassMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ClassMapper.java index 23d7b28..fbb57ba 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ClassMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ClassMapper.java @@ -3,6 +3,7 @@ package com.yipin.liuwanr.mapper; import java.util.List; import com.yipin.liuwanr.entity.Class; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; /** @@ -11,6 +12,7 @@ import org.apache.ibatis.annotations.Select; * @author 全承珠 * */ +@Mapper public interface ClassMapper { @Select("select classId,className from class where className like concat(#{className},'%') ") diff --git a/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java b/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java index fa52eb2..75e629c 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java @@ -2,15 +2,7 @@ package com.yipin.liuwanr.mapper; import java.util.List; -import org.apache.ibatis.annotations.Delete; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Many; -import org.apache.ibatis.annotations.One; -import org.apache.ibatis.annotations.Options; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; import com.yipin.liuwanr.entity.Course; import com.yipin.liuwanr.entity.CourseLink; @@ -21,9 +13,8 @@ import com.yipin.liuwanr.entity.ProfessionalClass; import com.yipin.liuwanr.entity.ServiceConfig; import com.yipin.liuwanr.entity.UserM; import com.yipin.liuwanr.vo.CourseVO; -import org.apache.ibatis.annotations.Param; - +@Mapper public interface CourseMapper { //添加课程 diff --git a/src/main/java/com/yipin/liuwanr/mapper/CoursePermissionsMapper.java b/src/main/java/com/yipin/liuwanr/mapper/CoursePermissionsMapper.java index bb3df72..38d4ac9 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/CoursePermissionsMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/CoursePermissionsMapper.java @@ -3,6 +3,7 @@ package com.yipin.liuwanr.mapper; import java.util.List; import org.apache.ibatis.annotations.Insert; +import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import org.apache.ibatis.annotations.Update; @@ -13,7 +14,7 @@ import com.yipin.liuwanr.entity.Discipline; import com.yipin.liuwanr.entity.Professional; import com.yipin.liuwanr.entity.ProfessionalClass; import com.yipin.liuwanr.entity.ServiceConfig; - +@Mapper public interface CoursePermissionsMapper { @Insert("INSERT INTO hr_course_permissions(usePeriod,marketPrice,transactionPrice,discount,portAddressId,isDeliverGoods,courseId,orderId,isdel)" diff --git a/src/main/java/com/yipin/liuwanr/mapper/CustomerMapper.java b/src/main/java/com/yipin/liuwanr/mapper/CustomerMapper.java index e1d1582..14140ab 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/CustomerMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/CustomerMapper.java @@ -3,16 +3,11 @@ package com.yipin.liuwanr.mapper; import java.util.List; import com.yipin.liuwanr.entity.*; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Many; -import org.apache.ibatis.annotations.One; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; import com.yipin.liuwanr.vo.CustomerVO; +@Mapper public interface CustomerMapper { @Insert("INSERT INTO customer(countries,industry,provinceId,adminName,adminPhone,cityId,customerType,stopTime,email,isdel,schoolId,industryClassId,industryId,customerName,creationTime,account,position)" diff --git a/src/main/java/com/yipin/liuwanr/mapper/DeviceMapper.java b/src/main/java/com/yipin/liuwanr/mapper/DeviceMapper.java index d33f7a4..603d58a 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/DeviceMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/DeviceMapper.java @@ -2,12 +2,7 @@ package com.yipin.liuwanr.mapper; import java.util.List; -import org.apache.ibatis.annotations.Delete; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; import com.yipin.liuwanr.entity.Action; import com.yipin.liuwanr.entity.Device; @@ -15,6 +10,7 @@ import com.yipin.liuwanr.entity.Position; import com.yipin.liuwanr.entity.Relationship; import com.yipin.liuwanr.entity.UploadInfo; +@Mapper public interface DeviceMapper { @Select("SELECT duid, version, tariff, createtime, updatetime FROM lw_device where duid = #{duid}") diff --git a/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java index 6b2624a..9d5bbc7 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ExperimentalClassMapper.java @@ -2,19 +2,14 @@ package com.yipin.liuwanr.mapper; import java.util.List; -import org.apache.ibatis.annotations.Delete; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Options; -import org.apache.ibatis.annotations.Param; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; import com.yipin.liuwanr.entity.ExperimentalClass; import com.yipin.liuwanr.entity.Professional; import com.yipin.liuwanr.entity.StuProfessionalArchitecture; import com.yipin.liuwanr.entity.Student; - +@Mapper public interface ExperimentalClassMapper { //实验班级添加学生 @Insert("INSERT INTO experimental_class_student(studentId,experimentalClassId)" diff --git a/src/main/java/com/yipin/liuwanr/mapper/ExperimentallearningMapper.java b/src/main/java/com/yipin/liuwanr/mapper/ExperimentallearningMapper.java index 22b44ee..1cab3cc 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/ExperimentallearningMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/ExperimentallearningMapper.java @@ -3,16 +3,14 @@ package com.yipin.liuwanr.mapper; import java.util.List; import com.yipin.liuwanr.entity.*; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Param; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; /** * 学生_实验学习 * @author 86151 * */ +@Mapper public interface ExperimentallearningMapper { /** diff --git a/src/main/java/com/yipin/liuwanr/mapper/GroupMapper.java b/src/main/java/com/yipin/liuwanr/mapper/GroupMapper.java index 09e5db4..e82b030 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/GroupMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/GroupMapper.java @@ -2,18 +2,12 @@ package com.yipin.liuwanr.mapper; import java.util.List; -import org.apache.ibatis.annotations.Many; -import org.apache.ibatis.annotations.Delete; -import org.apache.ibatis.annotations.Insert; -import org.apache.ibatis.annotations.Result; -import org.apache.ibatis.annotations.Results; -import org.apache.ibatis.annotations.Select; -import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.*; import org.apache.ibatis.mapping.FetchType; import com.yipin.liuwanr.entity.Group; import com.yipin.liuwanr.entity.User; - +@Mapper public interface GroupMapper { @Results({ diff --git a/src/main/java/com/yipin/liuwanr/mapper/HrUserAccountMapper.java b/src/main/java/com/yipin/liuwanr/mapper/HrUserAccountMapper.java index 1bd6ade..2cb21a4 100644 --- a/src/main/java/com/yipin/liuwanr/mapper/HrUserAccountMapper.java +++ b/src/main/java/com/yipin/liuwanr/mapper/HrUserAccountMapper.java @@ -1,7 +1,17 @@ package com.yipin.liuwanr.mapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.yipin.liuwanr.entity.HrUserAccount; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.yipin.liuwanr.entity.response.UserInfoListRes; +import com.yipin.liuwanr.entity.vo.UserInfoReq; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Select; + +import java.util.List; + /** *
@@ -11,6 +21,43 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
* @author Qyq
* @since 2021-06-18
*/
+@Mapper
public interface HrUserAccountMapper extends BaseMapper