From 5d4e6d425f5a9cc2b0cef76a457885a4d4e68f7e Mon Sep 17 00:00:00 2001 From: anthonywj Date: Fri, 12 Jan 2024 20:17:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8C=BB=E7=96=97=E5=99=A8?= =?UTF-8?q?=E6=A2=B0=E6=B3=A8=E5=86=8C=E4=BA=BA=EF=BC=8C=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=EF=BC=8C=E7=94=9F=E4=BA=A7=E4=BC=81=E4=B8=9A?= =?UTF-8?q?=E7=AD=89=E8=A1=A8=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/dao/stat/AnncmntManuCertMapper.java | 9 + .../glxp/api/dao/stat/AnncmntManuMapper.java | 9 + .../dao/stat/AnncmntProductBatchMapper.java | 9 + .../api/dao/stat/AnncmntProductMapper.java | 9 + .../api/dao/stat/AnncmntYlqxzcrMapper.java | 9 + .../api/dao/stat/AnncmntYlqxzczhMapper.java | 9 + .../com/glxp/api/entity/stat/AnncmntManu.java | 165 ++++++++++++++++++ .../glxp/api/entity/stat/AnncmntManuCert.java | 123 +++++++++++++ .../glxp/api/entity/stat/AnncmntProduct.java | 126 +++++++++++++ .../api/entity/stat/AnncmntProductBatch.java | 114 ++++++++++++ .../glxp/api/entity/stat/AnncmntYlqxzcr.java | 129 ++++++++++++++ .../glxp/api/entity/stat/AnncmntYlqxzczh.java | 162 +++++++++++++++++ .../service/stat/AnncmntManuCertService.java | 12 ++ .../api/service/stat/AnncmntManuService.java | 12 ++ .../stat/AnncmntProductBatchService.java | 12 ++ .../service/stat/AnncmntProductService.java | 12 ++ .../service/stat/AnncmntYlqxzcrService.java | 12 ++ .../service/stat/AnncmntYlqxzczhService.java | 12 ++ .../mapper/stat/AnncmntManuCertMapper.xml | 31 ++++ .../mybatis/mapper/stat/AnncmntManuMapper.xml | 39 +++++ .../mapper/stat/AnncmntProductBatchMapper.xml | 30 ++++ .../mapper/stat/AnncmntProductMapper.xml | 32 ++++ .../mapper/stat/AnncmntYlqxzcrMapper.xml | 32 ++++ .../mapper/stat/AnncmntYlqxzczhMapper.xml | 37 ++++ src/main/resources/schemas/schema_v2.1.sql | 160 +++++++++++++++++ 25 files changed, 1306 insertions(+) create mode 100644 src/main/java/com/glxp/api/dao/stat/AnncmntManuCertMapper.java create mode 100644 src/main/java/com/glxp/api/dao/stat/AnncmntManuMapper.java create mode 100644 src/main/java/com/glxp/api/dao/stat/AnncmntProductBatchMapper.java create mode 100644 src/main/java/com/glxp/api/dao/stat/AnncmntProductMapper.java create mode 100644 src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzcrMapper.java create mode 100644 src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzczhMapper.java create mode 100644 src/main/java/com/glxp/api/entity/stat/AnncmntManu.java create mode 100644 src/main/java/com/glxp/api/entity/stat/AnncmntManuCert.java create mode 100644 src/main/java/com/glxp/api/entity/stat/AnncmntProduct.java create mode 100644 src/main/java/com/glxp/api/entity/stat/AnncmntProductBatch.java create mode 100644 src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzcr.java create mode 100644 src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzczh.java create mode 100644 src/main/java/com/glxp/api/service/stat/AnncmntManuCertService.java create mode 100644 src/main/java/com/glxp/api/service/stat/AnncmntManuService.java create mode 100644 src/main/java/com/glxp/api/service/stat/AnncmntProductBatchService.java create mode 100644 src/main/java/com/glxp/api/service/stat/AnncmntProductService.java create mode 100644 src/main/java/com/glxp/api/service/stat/AnncmntYlqxzcrService.java create mode 100644 src/main/java/com/glxp/api/service/stat/AnncmntYlqxzczhService.java create mode 100644 src/main/resources/mybatis/mapper/stat/AnncmntManuCertMapper.xml create mode 100644 src/main/resources/mybatis/mapper/stat/AnncmntManuMapper.xml create mode 100644 src/main/resources/mybatis/mapper/stat/AnncmntProductBatchMapper.xml create mode 100644 src/main/resources/mybatis/mapper/stat/AnncmntProductMapper.xml create mode 100644 src/main/resources/mybatis/mapper/stat/AnncmntYlqxzcrMapper.xml create mode 100644 src/main/resources/mybatis/mapper/stat/AnncmntYlqxzczhMapper.xml diff --git a/src/main/java/com/glxp/api/dao/stat/AnncmntManuCertMapper.java b/src/main/java/com/glxp/api/dao/stat/AnncmntManuCertMapper.java new file mode 100644 index 0000000..77e67fc --- /dev/null +++ b/src/main/java/com/glxp/api/dao/stat/AnncmntManuCertMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.stat; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.stat.AnncmntManuCert; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntManuCertMapper extends BaseMapper { +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/stat/AnncmntManuMapper.java b/src/main/java/com/glxp/api/dao/stat/AnncmntManuMapper.java new file mode 100644 index 0000000..601be7e --- /dev/null +++ b/src/main/java/com/glxp/api/dao/stat/AnncmntManuMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.stat; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.stat.AnncmntManu; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntManuMapper extends BaseMapper { +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/stat/AnncmntProductBatchMapper.java b/src/main/java/com/glxp/api/dao/stat/AnncmntProductBatchMapper.java new file mode 100644 index 0000000..a9e5704 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/stat/AnncmntProductBatchMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.stat; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.stat.AnncmntProductBatch; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntProductBatchMapper extends BaseMapper { +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/stat/AnncmntProductMapper.java b/src/main/java/com/glxp/api/dao/stat/AnncmntProductMapper.java new file mode 100644 index 0000000..b15f419 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/stat/AnncmntProductMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.stat; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.stat.AnncmntProduct; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntProductMapper extends BaseMapper { +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzcrMapper.java b/src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzcrMapper.java new file mode 100644 index 0000000..a5cec7e --- /dev/null +++ b/src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzcrMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.stat; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.stat.AnncmntYlqxzcr; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntYlqxzcrMapper extends BaseMapper { +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzczhMapper.java b/src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzczhMapper.java new file mode 100644 index 0000000..63d3b37 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/stat/AnncmntYlqxzczhMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.stat; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.stat.AnncmntYlqxzczh; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntYlqxzczhMapper extends BaseMapper { +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/stat/AnncmntManu.java b/src/main/java/com/glxp/api/entity/stat/AnncmntManu.java new file mode 100644 index 0000000..b7a6584 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/stat/AnncmntManu.java @@ -0,0 +1,165 @@ +package com.glxp.api.entity.stat; + +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.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * 器械公告-生产企业信息表 + */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@TableName(value = "anncmnt_manu") +public class AnncmntManu implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * 医疗器械注册人名称(企业名称) + */ + @TableField(value = "`name`") + private String name; + + /** + * 统一社会信用号 + */ + @TableField(value = "creditCode") + private String creditCode; + + /** + * 企业地址 + */ + @TableField(value = "addr") + private String addr; + + /** + * 企业联系人 + */ + @TableField(value = "contact") + private String contact; + + /** + * 联系电话 + */ + @TableField(value = "phone") + private String phone; + + /** + * 法人 + */ + @TableField(value = "legalName") + private String legalName; + + /** + * 拼音码 + */ + @TableField(value = "spell") + private String spell; + + /** + * 企业状态:1:正常;2:异常 + */ + @TableField(value = "`status`") + private String status; + + /** + * 异常类型 + */ + @TableField(value = "errType") + private String errType; + + /** + * 异常信息 + */ + @TableField(value = "errMsg") + private String errMsg; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private Date updateUser; + + /** + * 更新时间 + */ + @TableField(value = "udpateTime") + private Date udpateTime; + + /** + * 暂停使用时间 + */ + @TableField(value = "pauseStartTime") + private Date pauseStartTime; + + /** + * 恢复使用时间 + */ + @TableField(value = "pauseEndTime") + private Date pauseEndTime; + + /** + * 生产许可证号 + */ + @TableField(value = "productionCode") + private String productionCode; + + /** + * 生产范围 + */ + @TableField(value = "productionRange") + private String productionRange; + + /** + * 生产地址 + */ + @TableField(value = "productionAddr") + private String productionAddr; + + /** + * 发证部门 + */ + @TableField(value = "publicDept") + private String publicDept; + + /** + * 发证日期 + */ + @TableField(value = "approvalDate") + private Date approvalDate; + + /** + * 有效期至 + */ + @TableField(value = "expireDate") + private Date expireDate; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/stat/AnncmntManuCert.java b/src/main/java/com/glxp/api/entity/stat/AnncmntManuCert.java new file mode 100644 index 0000000..eb20d61 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/stat/AnncmntManuCert.java @@ -0,0 +1,123 @@ +package com.glxp.api.entity.stat; + +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.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * 器械公告-生产企业证书信息 + */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@TableName(value = "anncmnt_manu_cert") +public class AnncmntManuCert implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * 注册/备案证号(外键) + */ + @TableField(value = "zczbhhzbapzbh") + private String zczbhhzbapzbh; + + /** + * 医疗器械注册人 + */ + @TableField(value = "ylqxzcrbarmc") + private String ylqxzcrbarmc; + + /** + * 注册人统一社会信用号 + */ + @TableField(value = "regCreditCode") + private String regCreditCode; + + /** + * 产品名称 + */ + @TableField(value = "productName") + private String productName; + + /** + * 生产企业名称 + */ + @TableField(value = "manuName") + private String manuName; + + /** + * 生产企业统一社会信用号 + */ + @TableField(value = "manuCreditCode") + private String manuCreditCode; + + /** + * 证书状态 + */ + @TableField(value = "`status`") + private Byte status; + + /** + * 异常类型 + */ + @TableField(value = "errType") + private String errType; + + /** + * 异常信息 + */ + @TableField(value = "errMsg") + private String errMsg; + + /** + * 备注 + */ + @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 = "udpateTime") + private Date udpateTime; + + /** + * 暂停使用时间 + */ + @TableField(value = "pauseStartTime") + private Date pauseStartTime; + + /** + * 暂停使用截止时间 + */ + @TableField(value = "pauseEndTime") + private Date pauseEndTime; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/stat/AnncmntProduct.java b/src/main/java/com/glxp/api/entity/stat/AnncmntProduct.java new file mode 100644 index 0000000..3a7f66a --- /dev/null +++ b/src/main/java/com/glxp/api/entity/stat/AnncmntProduct.java @@ -0,0 +1,126 @@ +package com.glxp.api.entity.stat; + +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.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@TableName(value = "anncmnt_product") +public class AnncmntProduct implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * 产品通用名称 + */ + @TableField(value = "productName") + private String productName; + + /** + * 规格型号 + */ + @TableField(value = "ggxh") + private String ggxh; + + /** + * di/产品标识 + */ + @TableField(value = "nameCode") + private String nameCode; + + /** + * 医疗器械注册备案人 + */ + @TableField(value = "ylqxzcrbarmc") + private String ylqxzcrbarmc; + + /** + * 注册人统一社会信用号 + */ + @TableField(value = "regCreditCode") + private String regCreditCode; + + /** + * 生产企业 + */ + @TableField(value = "manuName") + private String manuName; + + /** + * 生产企业统一社会信用代码 + */ + @TableField(value = "manuCreditCode") + private String manuCreditCode; + + /** + * 产品状态 + */ + @TableField(value = "`status`") + private String status; + + /** + * 异常类型 + */ + @TableField(value = "errType") + private String errType; + + /** + * 异常信息 + */ + @TableField(value = "errMsg") + private String errMsg; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private Date updateUser; + + /** + * 更新时间 + */ + @TableField(value = "udpateTime") + private Date udpateTime; + + /** + * 暂停使用时间 + */ + @TableField(value = "pauseStartTime") + private Date pauseStartTime; + + /** + * 恢复使用时间 + */ + @TableField(value = "pauseEndTime") + private Date pauseEndTime; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/stat/AnncmntProductBatch.java b/src/main/java/com/glxp/api/entity/stat/AnncmntProductBatch.java new file mode 100644 index 0000000..a9bbd62 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/stat/AnncmntProductBatch.java @@ -0,0 +1,114 @@ +package com.glxp.api.entity.stat; + +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.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@TableName(value = "anncmnt_product_batch") +public class AnncmntProductBatch implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * 产品Id外键 + */ + @TableField(value = "productIdFk") + private String productIdFk; + + /** + * 产品名称 + */ + @TableField(value = "productName") + private String productName; + + /** + * 批次号 + */ + @TableField(value = "batchNo") + private Integer batchNo; + + /** + * 生产日期 + */ + @TableField(value = "productionDate") + private String productionDate; + + /** + * 失效日期 + */ + @TableField(value = "expireDate") + private String expireDate; + + /** + * 批次状态 + */ + @TableField(value = "`status`") + private String status; + + /** + * 异常类型 + */ + @TableField(value = "errType") + private String errType; + + /** + * 异常信息 + */ + @TableField(value = "errMsg") + private String errMsg; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新时间 + */ + @TableField(value = "udpateTime") + private Date udpateTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private String updateUser; + + /** + * 暂停使用时间 + */ + @TableField(value = "pauseStartTime") + private Date pauseStartTime; + + /** + * 恢复使用时间 + */ + @TableField(value = "pauseEndTime") + private Date pauseEndTime; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzcr.java b/src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzcr.java new file mode 100644 index 0000000..9f8acd5 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzcr.java @@ -0,0 +1,129 @@ +package com.glxp.api.entity.stat; + +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.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * 器械公告-医疗器械注册人信息表 + */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@TableName(value = "anncmnt_ylqxzcr") +public class AnncmntYlqxzcr implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * 医疗器械注册人名称(企业名称) + */ + @TableField(value = "`name`") + private String name; + + /** + * 统一社会信用号 + */ + @TableField(value = "creditCode") + private String creditCode; + + /** + * 企业地址 + */ + @TableField(value = "addr") + private String addr; + + /** + * 企业联系人 + */ + @TableField(value = "contact") + private String contact; + + /** + * 企业法人 + */ + @TableField(value = "legalName") + private String legalName; + + /** + * 拼音码 + */ + @TableField(value = "spell") + private String spell; + + /** + * 联系电话 + */ + @TableField(value = "phone") + private String phone; + + /** + * 企业状态:1:正常;2:异常 + */ + @TableField(value = "`status`") + private Byte status; + + /** + * 异常类型 + */ + @TableField(value = "errType") + private String errType; + + /** + * 异常信息 + */ + @TableField(value = "errMsg") + private String errMsg; + + /** + * 备注 + */ + @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 = "udpateTime") + private Date udpateTime; + + /** + * 暂停使用时间 + */ + @TableField(value = "pauseStartTime") + private Date pauseStartTime; + + /** + * 恢复使用时间 + */ + @TableField(value = "pauseEndTime") + private Date pauseEndTime; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzczh.java b/src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzczh.java new file mode 100644 index 0000000..ed1a7f7 --- /dev/null +++ b/src/main/java/com/glxp/api/entity/stat/AnncmntYlqxzczh.java @@ -0,0 +1,162 @@ +package com.glxp.api.entity.stat; + +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.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + +/** + * 器械公告-注册/备案证号表 + */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor +@TableName(value = "anncmnt_ylqxzczh") +public class AnncmntYlqxzczh implements Serializable { + /** + * 证书状态:1:异常 + */ + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * 证书编号 + */ + @TableField(value = "code") + private String code; + + /** + * 产品名称 + */ + @TableField(value = "productName") + private String productName; + + /** + * 规格型号(包含多个规格型号) + */ + @TableField(value = "ggxh") + private String ggxh; + + /** + * 注册人名称 + */ + @TableField(value = "regCompanyName") + private String regCompanyName; + + /** + * 注册人统一社会信用号 + */ + @TableField(value = "regCreditCode") + private String regCreditCode; + + /** + * 代理人名称 + */ + @TableField(value = "agentName") + private String agentName; + + /** + * 代理人同意社会信用号 + */ + @TableField(value = "agentCertCode") + private String agentCertCode; + + /** + * 结构以及组成 + */ + @TableField(value = "jgjzc") + private String jgjzc; + + /** + * 适用范围 + */ + @TableField(value = "useRange") + private String useRange; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + /** + * 审核部门 + */ + @TableField(value = "auditDept") + private String auditDept; + + /** + * 批准日期 + */ + @TableField(value = "approvalDate") + private Date approvalDate; + + /** + * 失效日期 + */ + @TableField(value = "expireDate") + private Date expireDate; + + /** + * 证书状态:1:正常2:异常 + */ + @TableField(value = "`status`") + private String status; + + /** + * 异常类型 + */ + @TableField(value = "errType") + private String errType; + + /** + * 异常信息 + */ + @TableField(value = "errMsg") + private String errMsg; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private String updateUser; + + /** + * 更新时间 + */ + @TableField(value = "udpateTime") + private Date udpateTime; + + /** + * 暂停使用时间 + */ + @TableField(value = "pauseStartTime") + private Date pauseStartTime; + + /** + * 暂停使用截止时间 + */ + @TableField(value = "pauseEndTime") + private Date pauseEndTime; + + private static final long serialVersionUID = 1L; +} \ No newline at end of file diff --git a/src/main/java/com/glxp/api/service/stat/AnncmntManuCertService.java b/src/main/java/com/glxp/api/service/stat/AnncmntManuCertService.java new file mode 100644 index 0000000..0c7a663 --- /dev/null +++ b/src/main/java/com/glxp/api/service/stat/AnncmntManuCertService.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.stat; + +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.dao.stat.AnncmntManuCertMapper; +import com.glxp.api.entity.stat.AnncmntManuCert; +@Service +public class AnncmntManuCertService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/api/service/stat/AnncmntManuService.java b/src/main/java/com/glxp/api/service/stat/AnncmntManuService.java new file mode 100644 index 0000000..36ca3c9 --- /dev/null +++ b/src/main/java/com/glxp/api/service/stat/AnncmntManuService.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.stat; + +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.dao.stat.AnncmntManuMapper; +import com.glxp.api.entity.stat.AnncmntManu; +@Service +public class AnncmntManuService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/api/service/stat/AnncmntProductBatchService.java b/src/main/java/com/glxp/api/service/stat/AnncmntProductBatchService.java new file mode 100644 index 0000000..9c1f484 --- /dev/null +++ b/src/main/java/com/glxp/api/service/stat/AnncmntProductBatchService.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.stat; + +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.stat.AnncmntProductBatch; +import com.glxp.api.dao.stat.AnncmntProductBatchMapper; +@Service +public class AnncmntProductBatchService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/api/service/stat/AnncmntProductService.java b/src/main/java/com/glxp/api/service/stat/AnncmntProductService.java new file mode 100644 index 0000000..f3c24ba --- /dev/null +++ b/src/main/java/com/glxp/api/service/stat/AnncmntProductService.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.stat; + +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.stat.AnncmntProduct; +import com.glxp.api.dao.stat.AnncmntProductMapper; +@Service +public class AnncmntProductService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/api/service/stat/AnncmntYlqxzcrService.java b/src/main/java/com/glxp/api/service/stat/AnncmntYlqxzcrService.java new file mode 100644 index 0000000..1ae0181 --- /dev/null +++ b/src/main/java/com/glxp/api/service/stat/AnncmntYlqxzcrService.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.stat; + +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.stat.AnncmntYlqxzcr; +import com.glxp.api.dao.stat.AnncmntYlqxzcrMapper; +@Service +public class AnncmntYlqxzcrService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/api/service/stat/AnncmntYlqxzczhService.java b/src/main/java/com/glxp/api/service/stat/AnncmntYlqxzczhService.java new file mode 100644 index 0000000..f4d75e0 --- /dev/null +++ b/src/main/java/com/glxp/api/service/stat/AnncmntYlqxzczhService.java @@ -0,0 +1,12 @@ +package com.glxp.api.service.stat; + +import org.springframework.stereotype.Service; +import javax.annotation.Resource; +import java.util.List; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.stat.AnncmntYlqxzczh; +import com.glxp.api.dao.stat.AnncmntYlqxzczhMapper; +@Service +public class AnncmntYlqxzczhService extends ServiceImpl { + +} diff --git a/src/main/resources/mybatis/mapper/stat/AnncmntManuCertMapper.xml b/src/main/resources/mybatis/mapper/stat/AnncmntManuCertMapper.xml new file mode 100644 index 0000000..2862a3e --- /dev/null +++ b/src/main/resources/mybatis/mapper/stat/AnncmntManuCertMapper.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + id, zczbhhzbapzbh, ylqxzcrbarmc, regCreditCode, productName, manuName, manuCreditCode, + `status`, errType, errMsg, remark, `createUser`, createTime, updateUser, udpateTime, + pauseStartTime, pauseEndTime + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/stat/AnncmntManuMapper.xml b/src/main/resources/mybatis/mapper/stat/AnncmntManuMapper.xml new file mode 100644 index 0000000..d9e4804 --- /dev/null +++ b/src/main/resources/mybatis/mapper/stat/AnncmntManuMapper.xml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, `name`, creditCode, addr, contact, phone, legalName, spell, `status`, errType, + errMsg, remark, `createUser`, createTime, updateUser, udpateTime, pauseStartTime, + pauseEndTime, productionCode, productionRange, productionAddr, publicDept, approvalDate, + expireDate + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/stat/AnncmntProductBatchMapper.xml b/src/main/resources/mybatis/mapper/stat/AnncmntProductBatchMapper.xml new file mode 100644 index 0000000..f8e6acd --- /dev/null +++ b/src/main/resources/mybatis/mapper/stat/AnncmntProductBatchMapper.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + id, productIdFk, productName, batchNo, productionDate, expireDate, `status`, errType, + errMsg, remark, `createUser`, createTime, udpateTime, updateUser, pauseStartTime, + pauseEndTime + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/stat/AnncmntProductMapper.xml b/src/main/resources/mybatis/mapper/stat/AnncmntProductMapper.xml new file mode 100644 index 0000000..6b1e9a6 --- /dev/null +++ b/src/main/resources/mybatis/mapper/stat/AnncmntProductMapper.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, productName, ggxh, nameCode, ylqxzcrbarmc, regCreditCode, manuName, manuCreditCode, + `status`, errType, errMsg, remark, `createUser`, createTime, updateUser, udpateTime, + pauseStartTime, pauseEndTime + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/stat/AnncmntYlqxzcrMapper.xml b/src/main/resources/mybatis/mapper/stat/AnncmntYlqxzcrMapper.xml new file mode 100644 index 0000000..64f66bb --- /dev/null +++ b/src/main/resources/mybatis/mapper/stat/AnncmntYlqxzcrMapper.xml @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, `name`, creditCode, addr, contact, legalName, spell, phone, `status`, errType, + errMsg, remark, `createUser`, createTime, updateUser, udpateTime, pauseStartTime, + pauseEndTime + + \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/stat/AnncmntYlqxzczhMapper.xml b/src/main/resources/mybatis/mapper/stat/AnncmntYlqxzczhMapper.xml new file mode 100644 index 0000000..e7df932 --- /dev/null +++ b/src/main/resources/mybatis/mapper/stat/AnncmntYlqxzczhMapper.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, code, productName, ggxh, regCompanyName, regCreditCode, agentName, agentCertCode, + jgjzc, useRange, remark, auditDept, approvalDate, expireDate, `status`, errType, + errMsg, `createUser`, createTime, updateUser, udpateTime, pauseStartTime, pauseEndTime + + \ No newline at end of file diff --git a/src/main/resources/schemas/schema_v2.1.sql b/src/main/resources/schemas/schema_v2.1.sql index 130294d..fb79771 100644 --- a/src/main/resources/schemas/schema_v2.1.sql +++ b/src/main/resources/schemas/schema_v2.1.sql @@ -160,5 +160,165 @@ CREATE TABLE IF NOT EXISTS `io_stat_set_detail` +CREATE TABLE IF NOT EXISTS `anncmnt_manu` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '医疗器械注册人名称(企业名称)', + `creditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '统一社会信用号', + `addr` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业地址', + `contact` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业联系人', + `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系电话', + `legalName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '法人', + `spell` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '拼音码', + `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业状态:1:正常;2:异常', + `errType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常类型', + `errMsg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常信息', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `createUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateUser` datetime(0) NULL DEFAULT NULL COMMENT '更新人', + `udpateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `pauseStartTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用时间', + `pauseEndTime` datetime(0) NULL DEFAULT NULL COMMENT '恢复使用时间', + `productionCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产许可证号', + `productionRange` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产范围', + `productionAddr` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产地址', + `publicDept` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '发证部门', + `approvalDate` datetime(0) NULL DEFAULT NULL COMMENT '发证日期', + `expireDate` datetime(0) NULL DEFAULT NULL COMMENT '有效期至', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '器械公告-生产企业信息表' ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for anncmnt_manu_cert +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `anncmnt_manu_cert` ( + `id` int NOT NULL AUTO_INCREMENT, + `zczbhhzbapzbh` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '注册/备案证号(外键)', + `ylqxzcrbarmc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '医疗器械注册人', + `regCreditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '注册人统一社会信用号', + `productName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '产品名称', + `manuName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产企业名称', + `manuCreditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产企业统一社会信用号', + `status` tinyint NULL DEFAULT NULL COMMENT '证书状态', + `errType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常类型', + `errMsg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常信息', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `createUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新人', + `udpateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `pauseStartTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用时间', + `pauseEndTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用截止时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '器械公告-生产企业证书信息' ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for anncmnt_product +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `anncmnt_product` ( + `id` int NOT NULL AUTO_INCREMENT, + `productName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '产品通用名称', + `ggxh` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '规格型号', + `nameCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'di/产品标识', + `ylqxzcrbarmc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '医疗器械注册备案人', + `regCreditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '注册人统一社会信用号', + `manuName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产企业', + `manuCreditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产企业统一社会信用代码', + `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '产品状态', + `errType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常类型', + `errMsg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常信息', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `createUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateUser` datetime(0) NULL DEFAULT NULL COMMENT '更新人', + `udpateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `pauseStartTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用时间', + `pauseEndTime` datetime(0) NULL DEFAULT NULL COMMENT '恢复使用时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for anncmnt_product_batch +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `anncmnt_product_batch` ( + `id` int NOT NULL AUTO_INCREMENT, + `productIdFk` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '产品Id外键', + `productName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '产品名称', + `batchNo` int NULL DEFAULT NULL COMMENT '批次号', + `productionDate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生产日期', + `expireDate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '失效日期', + `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '批次状态', + `errType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常类型', + `errMsg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常信息', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `createUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `udpateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `updateUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新人', + `pauseStartTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用时间', + `pauseEndTime` datetime(0) NULL DEFAULT NULL COMMENT '恢复使用时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for anncmnt_ylqxzcr +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `anncmnt_ylqxzcr` ( + `id` int NOT NULL AUTO_INCREMENT, + `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '医疗器械注册人名称(企业名称)', + `creditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '统一社会信用号', + `addr` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业地址', + `contact` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业联系人', + `legalName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '企业法人', + `spell` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '拼音码', + `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系电话', + `status` tinyint NULL DEFAULT NULL COMMENT '企业状态:1:正常;2:异常', + `errType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常类型', + `errMsg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常信息', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `createUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新人', + `udpateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `pauseStartTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用时间', + `pauseEndTime` datetime(0) NULL DEFAULT NULL COMMENT '恢复使用时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '器械公告-医疗器械注册人信息表' ROW_FORMAT = Dynamic; + +-- ---------------------------- +-- Table structure for anncmnt_ylqxzczh +-- ---------------------------- +CREATE TABLE IF NOT EXISTS `anncmnt_ylqxzczh` ( + `id` int NOT NULL AUTO_INCREMENT COMMENT '证书状态:1:异常', + `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '证书编号', + `productName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '产品名称', + `ggxh` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '规格型号(包含多个规格型号)', + `regCompanyName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '注册人名称', + `regCreditCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '注册人统一社会信用号', + `agentName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '代理人名称', + `agentCertCode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '代理人同意社会信用号', + `jgjzc` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '结构以及组成', + `useRange` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '适用范围', + `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注', + `auditDept` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '审核部门', + `approvalDate` datetime(0) NULL DEFAULT NULL COMMENT '批准日期', + `expireDate` datetime(0) NULL DEFAULT NULL COMMENT '失效日期', + `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '证书状态:1:正常2:异常', + `errType` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常类型', + `errMsg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '异常信息', + `createUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人', + `createTime` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', + `updateUser` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新人', + `udpateTime` datetime(0) NULL DEFAULT NULL COMMENT '更新时间', + `pauseStartTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用时间', + `pauseEndTime` datetime(0) NULL DEFAULT NULL COMMENT '暂停使用截止时间', + PRIMARY KEY (`id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '器械公告-注册/备案证号表' ROW_FORMAT = Dynamic; + +SET FOREIGN_KEY_CHECKS = 1; + + + +