diff --git a/src/main/java/com/glxp/api/dao/sup/UserCertMapper.java b/src/main/java/com/glxp/api/dao/sup/UserCertMapper.java new file mode 100644 index 0000000..de4e9f8 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/sup/UserCertMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.sup; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.sup.UserCertEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface UserCertMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/api/dao/sup/UserCertSetMapper.java b/src/main/java/com/glxp/api/dao/sup/UserCertSetMapper.java new file mode 100644 index 0000000..751b5b1 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/sup/UserCertSetMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.sup; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.sup.UserCertSetEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface UserCertSetMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/api/dao/sup/UserCheckMapper.java b/src/main/java/com/glxp/api/dao/sup/UserCheckMapper.java new file mode 100644 index 0000000..fddc6cd --- /dev/null +++ b/src/main/java/com/glxp/api/dao/sup/UserCheckMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.sup; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.sup.UserCheckEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface UserCheckMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/api/dao/sup/UserPersonMapper.java b/src/main/java/com/glxp/api/dao/sup/UserPersonMapper.java new file mode 100644 index 0000000..2df424d --- /dev/null +++ b/src/main/java/com/glxp/api/dao/sup/UserPersonMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.sup; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.sup.UserPersonEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface UserPersonMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/api/dao/sup/UserRegisterMapper.java b/src/main/java/com/glxp/api/dao/sup/UserRegisterMapper.java new file mode 100644 index 0000000..b157ae1 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/sup/UserRegisterMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.sup; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.sup.UserRegisterEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface UserRegisterMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java b/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java new file mode 100644 index 0000000..9814b6c --- /dev/null +++ b/src/main/java/com/glxp/api/entity/sup/UserCertEntity.java @@ -0,0 +1,102 @@ +package com.glxp.api.entity.sup; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 资质证书信息与路径表 + */ +@Data +@TableName(value = "user_cert") +public class UserCertEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Long id; + + /** + * 业ID外键 + */ + @TableField(value = "businessId") + private Long businessId; + + /** + * 证书名称 + */ + @TableField(value = "`name`") + private String name; + + /** + * 证书编号 + */ + @TableField(value = "code") + private String code; + + @TableField(value = "filePath") + private String filePath; + + /** + * 有效期 + */ + @TableField(value = "validDate") + private Date validDate; + + /** + * 失效期 + */ + @TableField(value = "expireDate") + private Date expireDate; + + /** + * 审核状态 + */ + @TableField(value = "checkStatus") + private String checkStatus; + + /** + * 审核说明 + */ + @TableField(value = "checkComment") + private String checkComment; + + /** + * 0:启用,1:禁用 + */ + @TableField(value = "`status`") + private String status; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private String updateUser; + + /** + * 更新时间 + */ + @TableField(value = "updateTime") + private Date updateTime; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/api/entity/sup/UserCertSetEntity.java b/src/main/java/com/glxp/api/entity/sup/UserCertSetEntity.java new file mode 100644 index 0000000..01690fb --- /dev/null +++ b/src/main/java/com/glxp/api/entity/sup/UserCertSetEntity.java @@ -0,0 +1,63 @@ +package com.glxp.api.entity.sup; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 资质证书设置 + */ +@Data +@TableName(value = "user_cert_set") +public class UserCertSetEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Long id; + + /** + * 证书名称 + */ + @TableField(value = "`name`") + private String name; + + /** + * 是否必选 + */ + @TableField(value = "isNeed") + private String isNeed; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private String updateUser; + + /** + * 更新时间 + */ + @TableField(value = "updateTime") + private Date updateTime; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/api/entity/sup/UserCheckEntity.java b/src/main/java/com/glxp/api/entity/sup/UserCheckEntity.java new file mode 100644 index 0000000..449acf0 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/sup/UserCheckEntity.java @@ -0,0 +1,45 @@ +package com.glxp.api.entity.sup; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 审核记录 + */ +@Data +@TableName(value = "user_check") +public class UserCheckEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Long id; + + /** + * 业务表ID + */ + @TableField(value = "businessId") + private Long businessId; + + /** + * 操作结果 + */ + @TableField(value = "checkResult") + private String checkResult; + + /** + * 结果说明 + */ + @TableField(value = "resultExplain") + private String resultExplain; + + @TableField(value = "`createUser`") + private String createUser; + + @TableField(value = "createTime") + private Date createTime; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/api/entity/sup/UserPersonEntity.java b/src/main/java/com/glxp/api/entity/sup/UserPersonEntity.java new file mode 100644 index 0000000..9bab479 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/sup/UserPersonEntity.java @@ -0,0 +1,84 @@ +package com.glxp.api.entity.sup; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +/** + * 企业负责人 + */ +@Data +@TableName(value = "user_person") +public class UserPersonEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Long id; + + /** + * 注册表id + */ + @TableField(value = "registerId") + private Long registerId; + + /** + * 企业id + */ + @TableField(value = "companyId") + private Long companyId; + + /** + * 用户名 + */ + @TableField(value = "userName") + private String userName; + + /** + * 密码 + */ + @TableField(value = "`password`") + private String password; + + /** + * 姓名 + */ + @TableField(value = "`name`") + private String name; + + /** + * 电话 + */ + @TableField(value = "tel") + private String tel; + + /** + * 手机 + */ + @TableField(value = "mobile") + private String mobile; + + /** + * qq + */ + @TableField(value = "qq") + private String qq; + + /** + * 微信 + */ + @TableField(value = "weChat") + private String weChat; + + /** + * 邮箱 + */ + @TableField(value = "email") + private String email; + + @TableField(value = "createTime") + private Date createTime; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/api/entity/sup/UserRegisterEntity.java b/src/main/java/com/glxp/api/entity/sup/UserRegisterEntity.java new file mode 100644 index 0000000..6f95094 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/sup/UserRegisterEntity.java @@ -0,0 +1,114 @@ +package com.glxp.api.entity.sup; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import java.io.Serializable; +import java.util.Date; +import lombok.Data; + +@Data +@TableName(value = "user_register") +public class UserRegisterEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Long id; + + /** + * 企业信息ID + */ + @TableField(value = "companyId") + private Long companyId; + + /** + * 真实姓名 + */ + @TableField(value = "realName") + private String realName; + + /** + * 用户ID + */ + @TableField(value = "userId") + private String userId; + + /** + * 手机 + */ + @TableField(value = "mobile") + private String mobile; + + /** + * 邮箱 + */ + @TableField(value = "email") + private String email; + + /** + * 企业名称 + */ + @TableField(value = "companyName") + private String companyName; + + /** + * 统一社会信用号 + */ + @TableField(value = "creditNum") + private String creditNum; + + /** + * 企业类型 1生产企业,2流通企业,3,医疗机构.4.监管机构 + */ + @TableField(value = "bussinessStatus") + private String bussinessStatus; + + /** + * 注册时间 + */ + @TableField(value = "registerTime") + private Date registerTime; + + /** + * 法人名称 + */ + @TableField(value = "legalPerson") + private String legalPerson; + + /** + * 法人身份证 + */ + @TableField(value = "legalIdCard") + private String legalIdCard; + + /** + * 注册地址 + */ + @TableField(value = "registerAddress") + private String registerAddress; + + /** + * 联系方式 + */ + @TableField(value = "contactWay") + private String contactWay; + + /** + * 备注 + */ + @TableField(value = "comments") + private String comments; + + /** + * 审核状态 0 未提交/3 已提交未审核/1 审核通过/2 审核未通过 + */ + @TableField(value = "checkStatus") + private String checkStatus; + + /** + * 审核时间 + */ + @TableField(value = "checkTime") + private Date checkTime; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/api/service/sup/UserCertService.java b/src/main/java/com/glxp/api/service/sup/UserCertService.java new file mode 100644 index 0000000..6298e34 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/UserCertService.java @@ -0,0 +1,8 @@ +package com.glxp.api.service.sup; + +import com.glxp.api.entity.sup.UserCertEntity; +import com.baomidou.mybatisplus.extension.service.IService; +public interface UserCertService extends IService{ + + +} diff --git a/src/main/java/com/glxp/api/service/sup/UserCertSetService.java b/src/main/java/com/glxp/api/service/sup/UserCertSetService.java new file mode 100644 index 0000000..64e0152 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/UserCertSetService.java @@ -0,0 +1,8 @@ +package com.glxp.api.service.sup; + +import com.glxp.api.entity.sup.UserCertSetEntity; +import com.baomidou.mybatisplus.extension.service.IService; +public interface UserCertSetService extends IService{ + + +} diff --git a/src/main/java/com/glxp/api/service/sup/UserCheckService.java b/src/main/java/com/glxp/api/service/sup/UserCheckService.java new file mode 100644 index 0000000..24c8d24 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/UserCheckService.java @@ -0,0 +1,8 @@ +package com.glxp.api.service.sup; + +import com.glxp.api.entity.sup.UserCheckEntity; +import com.baomidou.mybatisplus.extension.service.IService; +public interface UserCheckService extends IService{ + + +} diff --git a/src/main/java/com/glxp/api/service/sup/UserPersonService.java b/src/main/java/com/glxp/api/service/sup/UserPersonService.java new file mode 100644 index 0000000..70aebc9 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/UserPersonService.java @@ -0,0 +1,8 @@ +package com.glxp.api.service.sup; + +import com.glxp.api.entity.sup.UserPersonEntity; +import com.baomidou.mybatisplus.extension.service.IService; +public interface UserPersonService extends IService{ + + +} diff --git a/src/main/java/com/glxp/api/service/sup/UserRegisterService.java b/src/main/java/com/glxp/api/service/sup/UserRegisterService.java new file mode 100644 index 0000000..a5311a2 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/UserRegisterService.java @@ -0,0 +1,8 @@ +package com.glxp.api.service.sup; + +import com.glxp.api.entity.sup.UserRegisterEntity; +import com.baomidou.mybatisplus.extension.service.IService; +public interface UserRegisterService extends IService{ + + +} diff --git a/src/main/java/com/glxp/api/service/sup/impl/UserCertServiceImpl.java b/src/main/java/com/glxp/api/service/sup/impl/UserCertServiceImpl.java new file mode 100644 index 0000000..8ad6935 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/impl/UserCertServiceImpl.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.sup.impl; + +import com.glxp.api.service.sup.UserCertService; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.dao.sup.UserCertMapper; +import com.glxp.api.entity.sup.UserCertEntity; + +@Service +public class UserCertServiceImpl extends ServiceImpl implements UserCertService { + +} diff --git a/src/main/java/com/glxp/api/service/sup/impl/UserCertSetServiceImpl.java b/src/main/java/com/glxp/api/service/sup/impl/UserCertSetServiceImpl.java new file mode 100644 index 0000000..cad014a --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/impl/UserCertSetServiceImpl.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.sup.impl; + +import com.glxp.api.service.sup.UserCertSetService; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.sup.UserCertSetEntity; +import com.glxp.api.dao.sup.UserCertSetMapper; + +@Service +public class UserCertSetServiceImpl extends ServiceImpl implements UserCertSetService { + +} diff --git a/src/main/java/com/glxp/api/service/sup/impl/UserCheckServiceImpl.java b/src/main/java/com/glxp/api/service/sup/impl/UserCheckServiceImpl.java new file mode 100644 index 0000000..a1b1bcc --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/impl/UserCheckServiceImpl.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.sup.impl; + +import com.glxp.api.service.sup.UserCheckService; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.sup.UserCheckEntity; +import com.glxp.api.dao.sup.UserCheckMapper; + +@Service +public class UserCheckServiceImpl extends ServiceImpl implements UserCheckService { + +} diff --git a/src/main/java/com/glxp/api/service/sup/impl/UserPersonServiceImpl.java b/src/main/java/com/glxp/api/service/sup/impl/UserPersonServiceImpl.java new file mode 100644 index 0000000..c789117 --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/impl/UserPersonServiceImpl.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.sup.impl; + +import com.glxp.api.service.sup.UserPersonService; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.sup.UserPersonEntity; +import com.glxp.api.dao.sup.UserPersonMapper; + +@Service +public class UserPersonServiceImpl extends ServiceImpl implements UserPersonService { + +} diff --git a/src/main/java/com/glxp/api/service/sup/impl/UserRegisterServiceImpl.java b/src/main/java/com/glxp/api/service/sup/impl/UserRegisterServiceImpl.java new file mode 100644 index 0000000..97540ba --- /dev/null +++ b/src/main/java/com/glxp/api/service/sup/impl/UserRegisterServiceImpl.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.sup.impl; + +import com.glxp.api.service.sup.UserRegisterService; +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.sup.UserRegisterEntity; +import com.glxp.api.dao.sup.UserRegisterMapper; + +@Service +public class UserRegisterServiceImpl extends ServiceImpl implements UserRegisterService { + +} diff --git a/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml b/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml new file mode 100644 index 0000000..47426be --- /dev/null +++ b/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + id, businessId, `name`, code, filePath, validDate, expireDate, checkStatus, checkComment, + `status`, remark, `createUser`, createTime, updateUser, updateTime + + diff --git a/src/main/resources/mybatis/mapper/sup/UserCertSetMapper.xml b/src/main/resources/mybatis/mapper/sup/UserCertSetMapper.xml new file mode 100644 index 0000000..6690bdf --- /dev/null +++ b/src/main/resources/mybatis/mapper/sup/UserCertSetMapper.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + id, `name`, isNeed, remark, `createUser`, createTime, updateUser, updateTime + + diff --git a/src/main/resources/mybatis/mapper/sup/UserCheckMapper.xml b/src/main/resources/mybatis/mapper/sup/UserCheckMapper.xml new file mode 100644 index 0000000..5527dfd --- /dev/null +++ b/src/main/resources/mybatis/mapper/sup/UserCheckMapper.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + id, businessId, checkResult, resultExplain, `createUser`, createTime + + diff --git a/src/main/resources/mybatis/mapper/sup/UserPersonMapper.xml b/src/main/resources/mybatis/mapper/sup/UserPersonMapper.xml new file mode 100644 index 0000000..1acd89c --- /dev/null +++ b/src/main/resources/mybatis/mapper/sup/UserPersonMapper.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + id, registerId, companyId, userName, `password`, `name`, tel, mobile, qq, weChat, + email, createTime + + diff --git a/src/main/resources/mybatis/mapper/sup/UserRegisterMapper.xml b/src/main/resources/mybatis/mapper/sup/UserRegisterMapper.xml new file mode 100644 index 0000000..14980d5 --- /dev/null +++ b/src/main/resources/mybatis/mapper/sup/UserRegisterMapper.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + id, companyId, realName, userId, mobile, email, companyName, creditNum, bussinessStatus, + registerTime, legalPerson, legalIdCard, registerAddress, contactWay, comments, checkStatus, + checkTime + +