diff --git a/src/main/java/com/glxp/api/dao/auth/UserPersonDao.java b/src/main/java/com/glxp/api/dao/auth/UserPersonDao.java new file mode 100644 index 0000000..1024e1f --- /dev/null +++ b/src/main/java/com/glxp/api/dao/auth/UserPersonDao.java @@ -0,0 +1,15 @@ +package com.glxp.api.dao.auth; + +import com.glxp.api.dao.BaseMapperPlus; +import com.glxp.api.entity.auth.DeptEntity; +import com.glxp.api.entity.auth.UserPersonEntity; +import com.glxp.api.req.auth.FilterInvWarehouseRequest; +import org.apache.ibatis.annotations.Param; + +import java.util.Date; +import java.util.List; + +public interface UserPersonDao extends BaseMapperPlus { + + +} diff --git a/src/main/java/com/glxp/api/entity/auth/UserCertEntity.java b/src/main/java/com/glxp/api/entity/auth/UserCertEntity.java new file mode 100644 index 0000000..988a404 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/auth/UserCertEntity.java @@ -0,0 +1,28 @@ +package com.glxp.api.entity.auth; + + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +@Data +@TableName("user_cert") +public class UserCertEntity { + private Long id; + private Long registerId; + private Long companyId; + private String name; + private String code; + private String filePath; + private String validDate; + private String expireDate; + private String checkStatus; + private String checkTime; + private String checkComment; + private String status; + private String remark; + private String createUser; + private String createTime; + private String updateUser; + private String updateTime; + +} diff --git a/src/main/java/com/glxp/api/entity/auth/UserPersonEntity.java b/src/main/java/com/glxp/api/entity/auth/UserPersonEntity.java new file mode 100644 index 0000000..d37ca19 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/auth/UserPersonEntity.java @@ -0,0 +1,21 @@ +package com.glxp.api.entity.auth; + + +import com.baomidou.mybatisplus.annotation.TableName; +import lombok.Data; + +@Data +@TableName("user_person") +public class UserPersonEntity { + private Long id; + private Long registerId; + private Long companyId; + private String name; + private String tel; + private String mobile; + private String qq; + private String weChart; + private String email; + private String createTime; + +} diff --git a/src/main/java/com/glxp/api/entity/auth/UserRegisterEntity.java b/src/main/java/com/glxp/api/entity/auth/UserRegisterEntity.java index 6801c9d..29c3bcd 100644 --- a/src/main/java/com/glxp/api/entity/auth/UserRegisterEntity.java +++ b/src/main/java/com/glxp/api/entity/auth/UserRegisterEntity.java @@ -1,5 +1,7 @@ package com.glxp.api.entity.auth; +import java.util.List; + import lombok.Data; @Data @@ -22,4 +24,6 @@ public class UserRegisterEntity { private String registerTime; private String checkTime; private String comments; + private List userPersons; + private List userCerts; } diff --git a/src/main/resources/mybatis/mapper/auth/UserPersonMapper.xml b/src/main/resources/mybatis/mapper/auth/UserPersonMapper.xml new file mode 100644 index 0000000..ebbc947 --- /dev/null +++ b/src/main/resources/mybatis/mapper/auth/UserPersonMapper.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +