From cdf33c899004d681180e94b869f40f27c4e72483 Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Thu, 24 Oct 2024 15:24:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A4=9A=E7=A0=81=E8=9E=8D=E5=90=88?= =?UTF-8?q?=E8=BD=AC=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/sale/admin/entity/sync/CodeRel.java | 61 ++++++++++++------- 1 file changed, 39 insertions(+), 22 deletions(-) diff --git a/api-admin/src/main/java/com/glxp/sale/admin/entity/sync/CodeRel.java b/api-admin/src/main/java/com/glxp/sale/admin/entity/sync/CodeRel.java index e1c6626..d13ae2b 100644 --- a/api-admin/src/main/java/com/glxp/sale/admin/entity/sync/CodeRel.java +++ b/api-admin/src/main/java/com/glxp/sale/admin/entity/sync/CodeRel.java @@ -1,5 +1,8 @@ package com.glxp.sale.admin.entity.sync; +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 lombok.Data; @@ -9,55 +12,69 @@ import java.util.Date; @TableName(value = "code_rel") public class CodeRel { + + @TableId(type = IdType.AUTO) public Integer id; /** - * 器械最小销售产品标识 - */ - public String dinamecode; + * 器械最小销售产品标识 + */ + @TableField(value = "diNameCode") + public String diNameCode; /** - * 阿里药品标识码 - */ - public String drugcode; + * 阿里药品标识码 + */ + @TableField(value = "drugCode") + public String drugCode; /** - * 医保编码 - */ + * 医保编码 + */ + @TableField(value = "ybbm") public String ybbm; /** - * 阳光采购平台编码 - */ - public String yccode; + * 阳光采购平台编码 + */ + @TableField(value = "ycCode") + public String ycCode; /** - * 商品条码 - */ + * 商品条码 + */ + @TableField(value = "sptm") public String sptm; /** - * 药品本位码 - */ + * 药品本位码 + */ + @TableField(value = "ypbwm") public String ypbwm; /** - * 统一社会信用号 - */ + * 统一社会信用号 + */ + @TableField(value = "tyshxyh") public String tyshxyh; /** - * 国家编码9码 - */ + * 国家编码9码 + */ + @TableField(value = "gjbm") public String gjbm; + @TableField(value = "status") public String status; - public Date updatetime; + @TableField(value = "updateTime") + public Date updateTime; - public Date createtime; + @TableField(value = "createTime") + public Date createTime; - public Byte fromtype; + @TableField(value = "fromtype") + public Integer fromtype; } \ No newline at end of file