From 4b0d88c1d9e159d0ac6181e403751ee5aa857242 Mon Sep 17 00:00:00 2001 From: yuqin <1627766274@qq.com> Date: Thu, 24 Jun 2021 09:48:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E8=A1=A8=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/HrUserInfoController.java | 20 ++ .../com/yipin/liuwanr/entity/HrUserInfo.java | 179 ++++++++++++++++++ .../liuwanr/mapper/HrUserInfoMapper.java | 18 ++ .../liuwanr/service/IHrUserInfoService.java | 16 ++ .../service/impl/HrUserInfoServiceImpl.java | 20 ++ .../resources/mapper/tms/HrUserInfoMapper.xml | 36 ++++ 6 files changed, 289 insertions(+) create mode 100644 src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java create mode 100644 src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java create mode 100644 src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java create mode 100644 src/main/java/com/yipin/liuwanr/service/IHrUserInfoService.java create mode 100644 src/main/java/com/yipin/liuwanr/service/impl/HrUserInfoServiceImpl.java create mode 100644 src/main/resources/mapper/tms/HrUserInfoMapper.xml diff --git a/src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java b/src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java new file mode 100644 index 0000000..5419f65 --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/controller/HrUserInfoController.java @@ -0,0 +1,20 @@ +package com.yipin.liuwanr.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.stereotype.Controller; + +/** + *
+ * 用户信息表 前端控制器 + *
+ * + * @author Qyq + * @since 2021-06-23 + */ +@Controller +@RequestMapping("/hr-user-info") +public class HrUserInfoController { + +} diff --git a/src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java b/src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java new file mode 100644 index 0000000..cdc5e09 --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/entity/HrUserInfo.java @@ -0,0 +1,179 @@ +package com.yipin.liuwanr.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import java.util.Date; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableField; +import lombok.Data; + +import java.io.Serializable; + +/** + *+ * 用户信息表 + *
+ * + * @author Qyq + * @since 2021-06-23 + */ +@Data +@TableName("hr_user_info") +public class HrUserInfo implements Serializable { + + private static final long serialVersionUID = 1L; + + /** + * 用户id + */ + @TableId(value = "userId", type = IdType.AUTO) + private Integer userId; + + /** + * 用户姓名 + */ + @TableField("userName") + private String userName; + + /** + * 唯一标识账号 + */ + @TableField("uniqueIdentificationAccount") + private String uniqueIdentificationAccount; + + /** + * 证件类型(1、身份证) + */ + @TableField("documentType") + private Integer documentType; + + /** + * 证件号码 + */ + @TableField("IDNumber") + private String IDNumber; + + /** + * 绑定省份id + */ + @TableField("provinceId") + private Integer provinceId; + + /** + * 绑定城市id + */ + @TableField("cityId") + private Integer cityId; + + /** + * 国家归属地 + */ + private String countries; + + /** + * 出生日期 + */ + @TableField("dateBirth") + private String dateBirth; + + /** + * 教育程度 + */ + @TableField("educationDegree") + private Integer educationDegree; + + /** + * 绑定学校id + */ + @TableField("schoolId") + private Integer schoolId; + + /** + * 电话 + */ + private String phone; + + /** + * 微信号 + */ + @TableField("weChatID") + private String weChatID; + + /** + * 邮箱 + */ + private String email; + + /** + * 账号(中台管理的所有平台的账号均不显示在这里) + */ + private String account; + + /** + * 密码 + */ + private String password; + + /** + * 创建时间 + */ + @TableField("creationTime") + private String creationTime; + + /** + * 登陆次数 + */ + @TableField("logInNumber") + private Integer logInNumber; + + /** + * 性别(1、男 2、女) + */ + private Integer sex; + + /** + * 用户头像路径 + */ + @TableField("userAvatars") + private String userAvatars; + + /** + * 是否删除(0、未删除 1、已删除) + */ + private Integer isdel; + + /** + * 最后登陆时间 + */ + @TableField("lastLoginTime") + private String lastLoginTime; + + /** + * 绑定多个角色id + */ + @TableField("roleId") + private String roleId; + + /** + * 禁用状态(0未禁用1已禁用默认0) + */ + @TableField("disableAccount") + private Integer disableAccount; + + /** + * 所属院校id(绑定学校id) + */ + @TableField("schoolAppellationId") + private String schoolAppellationId; + + /** + * token + */ + private String token; + + /** + * 最后更新时间 + */ + @TableField("updateTime") + private Date updateTime; +} diff --git a/src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java b/src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java new file mode 100644 index 0000000..defd09d --- /dev/null +++ b/src/main/java/com/yipin/liuwanr/mapper/HrUserInfoMapper.java @@ -0,0 +1,18 @@ +package com.yipin.liuwanr.mapper; + +import com.yipin.liuwanr.entity.HrUserInfo; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Mapper; + +/** + *+ * 用户信息表 Mapper 接口 + *
+ * + * @author Qyq + * @since 2021-06-23 + */ +@Mapper +public interface HrUserInfoMapper extends BaseMapper+ * 用户信息表 服务类 + *
+ * + * @author Qyq + * @since 2021-06-23 + */ +public interface IHrUserInfoService extends IService+ * 用户信息表 服务实现类 + *
+ * + * @author Qyq + * @since 2021-06-23 + */ +@Service +public class HrUserInfoServiceImpl extends ServiceImpl