From 61f363a5a163b6dbbe1da76b75a18217e0c92581 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Mon, 8 Jan 2024 11:22:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=99=A8=E6=A2=B0=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/api/dao/anno/AnncmntDevMapper.java | 9 + .../api/entity/anno/AnncmntDevEntity.java | 198 ++++++++++++++++++ .../api/service/anno/AnncmntDevService.java | 10 + .../mybatis/mapper/anno/AnncmntDevMapper.xml | 46 ++++ 4 files changed, 263 insertions(+) create mode 100644 src/main/java/com/glxp/api/dao/anno/AnncmntDevMapper.java create mode 100644 src/main/java/com/glxp/api/entity/anno/AnncmntDevEntity.java create mode 100644 src/main/java/com/glxp/api/service/anno/AnncmntDevService.java create mode 100644 src/main/resources/mybatis/mapper/anno/AnncmntDevMapper.xml diff --git a/src/main/java/com/glxp/api/dao/anno/AnncmntDevMapper.java b/src/main/java/com/glxp/api/dao/anno/AnncmntDevMapper.java new file mode 100644 index 0000000..1c713f6 --- /dev/null +++ b/src/main/java/com/glxp/api/dao/anno/AnncmntDevMapper.java @@ -0,0 +1,9 @@ +package com.glxp.api.dao.anno; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.api.entity.anno.AnncmntDevEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface AnncmntDevMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/api/entity/anno/AnncmntDevEntity.java b/src/main/java/com/glxp/api/entity/anno/AnncmntDevEntity.java new file mode 100644 index 0000000..46b488d --- /dev/null +++ b/src/main/java/com/glxp/api/entity/anno/AnncmntDevEntity.java @@ -0,0 +1,198 @@ +package com.glxp.api.entity.anno; + +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_dev") +public class AnncmntDevEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + private Integer id; + + /** + * DI标识 + */ + @TableField(value = "nameCode") + private String nameCode; + + /** + * 产品名称 + */ + @TableField(value = "productName") + private String productName; + + /** + * 产品名称英文名称 + */ + @TableField(value = "enProductName") + private String enProductName; + + /** + * 注册/备案证号 + */ + @TableField(value = "regCertCode") + private String regCertCode; + + /** + * 规格型号 + */ + @TableField(value = "modelSpec") + private String modelSpec; + + /** + * 批次号 + */ + @TableField(value = "batchNo") + private String batchNo; + + /** + * 生产日期 + */ + @TableField(value = "productionDate") + private String productionDate; + + /** + * 失效日期 + */ + @TableField(value = "expireDate") + private String expireDate; + + /** + * 生产企业名称 + */ + @TableField(value = "manuName") + private String manuName; + + /** + * 生产企业统一社会信用号 + */ + @TableField(value = "manuCertCoe") + private String manuCertCoe; + + /** + * 生产企业英文名称 + */ + @TableField(value = "enManuName") + private String enManuName; + + /** + * 代理人代理企业名称 + */ + @TableField(value = "agentName") + private String agentName; + + /** + * 代理人统一社会信用号 + */ + @TableField(value = "agentCertCode") + private String agentCertCode; + + /** + * 公告类型:1:注销注册证公告;2:暂停进口、经营和使用公告;3:项目整改/停产整改公告;4.注销生产许可证公告;5:产品召回公告 + */ + @TableField(value = "annType") + private Byte annType; + + /** + * 公告内容 + */ + @TableField(value = "annContent") + private String annContent; + + /** + * 检查异常信息 + */ + @TableField(value = "errContent") + private String errContent; + + /** + * 检查方式:1:远程非现场检查;2:监督抽检;3:飞行检查 + */ + @TableField(value = "checkType") + private Byte checkType; + + /** + * 公告来源名称 + */ + @TableField(value = "sourceName") + private String sourceName; + + /** + * 公告来源地址 + */ + @TableField(value = "sourceUrl") + private String sourceUrl; + + /** + * 公告发布索引号 + */ + @TableField(value = "publicCode") + private String publicCode; + + /** + * 发布标题 + */ + @TableField(value = "publicTitle") + private String publicTitle; + + /** + * 发布主题分类 + */ + @TableField(value = "publicSubject") + private String publicSubject; + + /** + * 公告发布人(ex:国家药监局组织) + */ + @TableField(value = "publicName") + private String publicName; + + /** + * 公告发布时间 + */ + @TableField(value = "publicTime") + private String publicTime; + + /** + * 创建人 + */ + @TableField(value = "`createUser`") + private String createUser; + + /** + * 创建时间 + */ + @TableField(value = "createTime") + private Date createTime; + + /** + * 更新人 + */ + @TableField(value = "updateUser") + private String updateUser; + + /** + * 更新时间 + */ + @TableField(value = "updateTime") + private Date updateTime; + + /** + * 备注 + */ + @TableField(value = "remark") + private String remark; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/api/service/anno/AnncmntDevService.java b/src/main/java/com/glxp/api/service/anno/AnncmntDevService.java new file mode 100644 index 0000000..78fc337 --- /dev/null +++ b/src/main/java/com/glxp/api/service/anno/AnncmntDevService.java @@ -0,0 +1,10 @@ +package com.glxp.api.service.anno; + +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.api.entity.anno.AnncmntDevEntity; +import com.glxp.api.dao.anno.AnncmntDevMapper; +@Service +public class AnncmntDevService extends ServiceImpl { + +} diff --git a/src/main/resources/mybatis/mapper/anno/AnncmntDevMapper.xml b/src/main/resources/mybatis/mapper/anno/AnncmntDevMapper.xml new file mode 100644 index 0000000..a38b372 --- /dev/null +++ b/src/main/resources/mybatis/mapper/anno/AnncmntDevMapper.xml @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, nameCode, productName, enProductName, regCertCode, modelSpec, batchNo, productionDate, + expireDate, manuName, manuCertCoe, enManuName, agentName, agentCertCode, annType, + annContent, errContent, checkType, sourceName, sourceUrl, publicCode, publicTitle, + publicSubject, publicName, publicTime, `createUser`, createTime, updateUser, updateTime, + remark + +