From 7470461c4d099fb55a3cb9b69f69751fc1834ea3 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Fri, 23 Feb 2024 14:26:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E4=BF=9D=E8=80=97=E6=9D=90=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../udidl/admin/dao/chs/YbHcflMapper.java | 9 + .../udidl/admin/dao/chs/YbHcxxGgMapper.java | 9 + .../udidl/admin/dao/chs/YbHcxxMapper.java | 9 + .../udidl/admin/entity/chs/YbHcflEntity.java | 166 ++++++++++++ .../udidl/admin/entity/chs/YbHcxxEntity.java | 158 +++++++++++ .../admin/entity/chs/YbHcxxGgEntity.java | 252 ++++++++++++++++++ .../udidl/admin/req/chs/YbHcflRequest.java | 20 ++ .../udidl/admin/res/chs/YbHcflResponse.java | 103 +++++++ .../admin/service/chs/YbChsHttpClient.java | 40 +++ .../admin/service/chs/YbHcflService.java | 10 + .../admin/service/chs/YbHcxxGgService.java | 10 + .../admin/service/chs/YbHcxxService.java | 10 + .../mybatis/mapper/chs/YbHcflMapper.xml | 38 +++ .../mybatis/mapper/chs/YbHcxxGgMapper.xml | 57 ++++ .../mybatis/mapper/chs/YbHcxxMapper.xml | 42 +++ 15 files changed, 933 insertions(+) create mode 100644 src/main/java/com/glxp/udidl/admin/dao/chs/YbHcflMapper.java create mode 100644 src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxGgMapper.java create mode 100644 src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxMapper.java create mode 100644 src/main/java/com/glxp/udidl/admin/entity/chs/YbHcflEntity.java create mode 100644 src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxEntity.java create mode 100644 src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxGgEntity.java create mode 100644 src/main/java/com/glxp/udidl/admin/req/chs/YbHcflRequest.java create mode 100644 src/main/java/com/glxp/udidl/admin/res/chs/YbHcflResponse.java create mode 100644 src/main/java/com/glxp/udidl/admin/service/chs/YbChsHttpClient.java create mode 100644 src/main/java/com/glxp/udidl/admin/service/chs/YbHcflService.java create mode 100644 src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxGgService.java create mode 100644 src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxService.java create mode 100644 src/main/resources/mybatis/mapper/chs/YbHcflMapper.xml create mode 100644 src/main/resources/mybatis/mapper/chs/YbHcxxGgMapper.xml create mode 100644 src/main/resources/mybatis/mapper/chs/YbHcxxMapper.xml diff --git a/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcflMapper.java b/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcflMapper.java new file mode 100644 index 0000000..be8d092 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcflMapper.java @@ -0,0 +1,9 @@ +package com.glxp.udidl.admin.dao.chs; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.udidl.admin.entity.chs.YbHcflEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface YbHcflMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxGgMapper.java b/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxGgMapper.java new file mode 100644 index 0000000..4c5a000 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxGgMapper.java @@ -0,0 +1,9 @@ +package com.glxp.udidl.admin.dao.chs; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.udidl.admin.entity.chs.YbHcxxGgEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface YbHcxxGgMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxMapper.java b/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxMapper.java new file mode 100644 index 0000000..8ba6a7a --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/dao/chs/YbHcxxMapper.java @@ -0,0 +1,9 @@ +package com.glxp.udidl.admin.dao.chs; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.glxp.udidl.admin.entity.chs.YbHcxxEntity; +import org.apache.ibatis.annotations.Mapper; + +@Mapper +public interface YbHcxxMapper extends BaseMapper { +} diff --git a/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcflEntity.java b/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcflEntity.java new file mode 100644 index 0000000..b47bfc6 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcflEntity.java @@ -0,0 +1,166 @@ +package com.glxp.udidl.admin.entity.chs; + +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 io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; +import lombok.Data; + +/** + * 医保耗材分类 + */ +@ApiModel(value="com-glxp-udidl-admin-entity-chs-YbHcfl") +@Data +@TableName(value = "yb_hcfl") +public class YbHcflEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + @ApiModelProperty(value="") + private Integer id; + + /** + * 医用耗材分类代码 + */ + @TableField(value = "specificationCode") + @ApiModelProperty(value="医用耗材分类代码") + private String specificationCode; + + @TableField(value = "specificationId") + @ApiModelProperty(value="") + private Integer specificationId; + + /** + * 三级分类代码 + */ + @TableField(value = "catalogcode") + @ApiModelProperty(value="三级分类代码") + private String catalogcode; + + /** + * 一级分类名称(学科,品名) + */ + @TableField(value = "catalogname1") + @ApiModelProperty(value="一级分类名称(学科,品名)") + private String catalogname1; + + /** + * 二级分类名称(用途、品目) + */ + @TableField(value = "catalogname2") + @ApiModelProperty(value="二级分类名称(用途、品目)") + private String catalogname2; + + /** + * 三级分类名称(部位、功能、品种) + */ + @TableField(value = "catalogname3") + @ApiModelProperty(value="三级分类名称(部位、功能、品种)") + private String catalogname3; + + /** + * 医保通用代码 + */ + @TableField(value = "commonnamecode") + @ApiModelProperty(value="医保通用代码") + private String commonnamecode; + + /** + * 医保通用名 + */ + @TableField(value = "commonname") + @ApiModelProperty(value="医保通用名") + private String commonname; + + /** + * 材质代码 + */ + @TableField(value = "matrialcode") + @ApiModelProperty(value="材质代码 ") + private String matrialcode; + + /** + * 耗材材质 + */ + @TableField(value = "matrial") + @ApiModelProperty(value="耗材材质") + private String matrial; + + /** + * 规格代码 + */ + @TableField(value = "characteristiccode") + @ApiModelProperty(value="规格代码") + private String characteristiccode; + + /** + * 规格(特征、参数) + */ + @TableField(value = "characteristic") + @ApiModelProperty(value="规格(特征、参数)") + private String characteristic; + + /** + * 分开收费 + */ + @TableField(value = "separateCharges") + @ApiModelProperty(value="分开收费") + private String separateCharges; + + /** + * 支付类型 + */ + @TableField(value = "paymentType") + @ApiModelProperty(value="支付类型") + private String paymentType; + + /** + * 支付标准 + */ + @TableField(value = "paymentStandard") + @ApiModelProperty(value="支付标准") + private String paymentStandard; + + /** + * 是否在用 + */ + @TableField(value = "isusing") + @ApiModelProperty(value="是否在用") + private String isusing; + + /** + * 规格状态 + */ + @TableField(value = "specificationType") + @ApiModelProperty(value="规格状态") + private String specificationType; + + /** + * 产品状态 + */ + @TableField(value = "productStatusS") + @ApiModelProperty(value="产品状态") + private String productStatusS; + + /** + * 产品数量 + */ + @TableField(value = "productCount") + @ApiModelProperty(value="产品数量") + private String productCount; + + @TableField(value = "compCount") + @ApiModelProperty(value="") + private String compCount; + + @TableField(value = "regCount") + @ApiModelProperty(value="") + private String regCount; + + @TableField(value = "goodsCount") + @ApiModelProperty(value="") + private String goodsCount; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxEntity.java b/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxEntity.java new file mode 100644 index 0000000..d4b1299 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxEntity.java @@ -0,0 +1,158 @@ +package com.glxp.udidl.admin.entity.chs; + +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 io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; +import lombok.Data; + +/** + * 医保耗材信息 + */ +@ApiModel(value="com-glxp-udidl-admin-entity-chs-YbHcxx") +@Data +@TableName(value = "yb_hcxx") +public class YbHcxxEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + @ApiModelProperty(value="") + private Integer id; + + /** + * 医用耗材代码 + */ + @TableField(value = "specificationCode") + @ApiModelProperty(value="医用耗材代码") + private String specificationCode; + + /** + * 耗材分类代码(外键) + */ + @TableField(value = "hcflCodeFk") + @ApiModelProperty(value="耗材分类代码(外键)") + private String hcflCodeFk; + + /** + * 一级分类(学科,品类) + */ + @TableField(value = "catalogname1") + @ApiModelProperty(value="一级分类(学科,品类)") + private String catalogname1; + + /** + * 二级分类(用途,品目) + */ + @TableField(value = "catalogname2") + @ApiModelProperty(value="二级分类(用途,品目)") + private String catalogname2; + + /** + * 三级分类(部位,功能,品种) + */ + @TableField(value = "catalogname3") + @ApiModelProperty(value="三级分类(部位,功能,品种)") + private String catalogname3; + + /** + * 规格(特征,参数) + */ + @TableField(value = "characteristic") + @ApiModelProperty(value="规格(特征,参数)") + private String characteristic; + + @TableField(value = "codeCount") + @ApiModelProperty(value="") + private String codeCount; + + @TableField(value = "codeCounts") + @ApiModelProperty(value="") + private String codeCounts; + + /** + * 医保通用名 + */ + @TableField(value = "commonname") + @ApiModelProperty(value="医保通用名") + private String commonname; + + @TableField(value = "compCounts") + @ApiModelProperty(value="") + private String compCounts; + + /** + * 耗材企业 + */ + @TableField(value = "companyName") + @ApiModelProperty(value="耗材企业") + private String companyName; + + /** + * 材质 + */ + @TableField(value = "matrial") + @ApiModelProperty(value="材质") + private String matrial; + + @TableField(value = "model") + @ApiModelProperty(value="") + private String model; + + @TableField(value = "proCounts") + @ApiModelProperty(value="") + private String proCounts; + + @TableField(value = "prodCount") + @ApiModelProperty(value="") + private String prodCount; + + @TableField(value = "productName") + @ApiModelProperty(value="") + private String productName; + + @TableField(value = "productionCode") + @ApiModelProperty(value="") + private String productionCode; + + @TableField(value = "regCount") + @ApiModelProperty(value="") + private String regCount; + + @TableField(value = "regCounts") + @ApiModelProperty(value="") + private String regCounts; + + @TableField(value = "regcardName") + @ApiModelProperty(value="") + private String regcardName; + + @TableField(value = "regcardnm") + @ApiModelProperty(value="") + private String regcardnm; + + /** + * 版本日期 + */ + @TableField(value = "releaseVersion") + @ApiModelProperty(value="版本日期") + private String releaseVersion; + + @TableField(value = "specCount") + @ApiModelProperty(value="") + private String specCount; + + @TableField(value = "specCounts") + @ApiModelProperty(value="") + private String specCounts; + + @TableField(value = "specification") + @ApiModelProperty(value="") + private String specification; + + @TableField(value = "totals") + @ApiModelProperty(value="") + private String totals; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxGgEntity.java b/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxGgEntity.java new file mode 100644 index 0000000..dcc651d --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/entity/chs/YbHcxxGgEntity.java @@ -0,0 +1,252 @@ +package com.glxp.udidl.admin.entity.chs; + +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 io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; +import lombok.Data; + +/** + * 医保耗材信息规格 + */ +@ApiModel(value="com-glxp-udidl-admin-entity-chs-YbHcxxGg") +@Data +@TableName(value = "yb_hcxx_gg") +public class YbHcxxGgEntity implements Serializable { + @TableId(value = "id", type = IdType.INPUT) + @ApiModelProperty(value="") + private Integer id; + + /** + * 创建时间 + */ + @TableField(value = "addTime") + @ApiModelProperty(value="创建时间") + private String addTime; + + /** + * 创建用户ID + */ + @TableField(value = "addUserId") + @ApiModelProperty(value="创建用户ID") + private String addUserId; + + /** + * 创建用户名称 + */ + @TableField(value = "addUserName") + @ApiModelProperty(value="创建用户名称") + private String addUserName; + + @TableField(value = "auditRemark") + @ApiModelProperty(value="") + private String auditRemark; + + @TableField(value = "auditUserId") + @ApiModelProperty(value="") + private String auditUserId; + + @TableField(value = "auditUserName") + @ApiModelProperty(value="") + private String auditUserName; + + /** + * 耗材分类编码(C010101) + */ + @TableField(value = "catalogCode") + @ApiModelProperty(value="耗材分类编码(C010101)") + private String catalogCode; + + @TableField(value = "catalogname1") + @ApiModelProperty(value="") + private String catalogname1; + + @TableField(value = "catalogname2") + @ApiModelProperty(value="") + private String catalogname2; + + @TableField(value = "catalogname3") + @ApiModelProperty(value="") + private String catalogname3; + + @TableField(value = "characteristic") + @ApiModelProperty(value="") + private String characteristic; + + @TableField(value = "codeOld") + @ApiModelProperty(value="") + private String codeOld; + + /** + * 医保耗材分类编码(C01010100101001039410000001) + */ + @TableField(value = "codeShow") + @ApiModelProperty(value="医保耗材分类编码(C01010100101001039410000001)") + private String codeShow; + + @TableField(value = "commonname") + @ApiModelProperty(value="") + private String commonname; + + /** + * 企业名称 + */ + @TableField(value = "companyName") + @ApiModelProperty(value="企业名称") + private String companyName; + + @TableField(value = "dataType") + @ApiModelProperty(value="") + private String dataType; + + /** + * 规格型号编码 + */ + @TableField(value = "ggxhCode") + @ApiModelProperty(value="规格型号编码") + private String ggxhCode; + + /** + * 产品ID + */ + @TableField(value = "goodsid") + @ApiModelProperty(value="产品ID") + private String goodsid; + + @TableField(value = "isUsing") + @ApiModelProperty(value="") + private String isUsing; + + /** + * 上一次更新时间 + */ + @TableField(value = "lastUpdateTime") + @ApiModelProperty(value="上一次更新时间") + private String lastUpdateTime; + + /** + * 上一次更新用户ID + */ + @TableField(value = "lastUpdateUserId") + @ApiModelProperty(value="上一次更新用户ID") + private String lastUpdateUserId; + + /** + * 上一个更新人(胡海燕(shenhe_haiyan)) + */ + @TableField(value = "lastUpdateUserName") + @ApiModelProperty(value="上一个更新人(胡海燕(shenhe_haiyan))") + private String lastUpdateUserName; + + @TableField(value = "mapingCode") + @ApiModelProperty(value="") + private String mapingCode; + + @TableField(value = "matrial") + @ApiModelProperty(value="") + private String matrial; + + /** + * 规格 + */ + @TableField(value = "model") + @ApiModelProperty(value="规格") + private String model; + + /** + * 旧注册证 + */ + @TableField(value = "oldregcardnm") + @ApiModelProperty(value="旧注册证") + private String oldregcardnm; + + /** + * 产品名称 + */ + @TableField(value = "productName") + @ApiModelProperty(value="产品名称") + private String productName; + + /** + * 产品id + */ + @TableField(value = "productid") + @ApiModelProperty(value="产品id") + private String productid; + + /** + * 产品编码 + */ + @TableField(value = "productionCode") + @ApiModelProperty(value="产品编码") + private String productionCode; + + /** + * 注册备案产品名称 + */ + @TableField(value = "regcardName") + @ApiModelProperty(value="注册备案产品名称") + private String regcardName; + + /** + * 注册备案产品ID + */ + @TableField(value = "regcardid") + @ApiModelProperty(value="注册备案产品ID") + private String regcardid; + + /** + * 注册备案号 + */ + @TableField(value = "regcardnm") + @ApiModelProperty(value="注册备案号") + private String regcardnm; + + /** + * 注册备案人 + */ + @TableField(value = "registrant") + @ApiModelProperty(value="注册备案人") + private String registrant; + + /** + * 注册备案人ID + */ + @TableField(value = "relationId") + @ApiModelProperty(value="注册备案人ID") + private String relationId; + + @TableField(value = "relationStatus") + @ApiModelProperty(value="") + private String relationStatus; + + @TableField(value = "releaseVersion") + @ApiModelProperty(value="") + private String releaseVersion; + + /** + * 型号 + */ + @TableField(value = "specification") + @ApiModelProperty(value="型号") + private String specification; + + /** + * 型号规格编码(C0101010010100103941) + */ + @TableField(value = "specificationCode") + @ApiModelProperty(value="型号规格编码(C0101010010100103941)") + private String specificationCode; + + /** + * udi-di + */ + @TableField(value = "udiCode") + @ApiModelProperty(value="udi-di") + private String udiCode; + + private static final long serialVersionUID = 1L; +} diff --git a/src/main/java/com/glxp/udidl/admin/req/chs/YbHcflRequest.java b/src/main/java/com/glxp/udidl/admin/req/chs/YbHcflRequest.java new file mode 100644 index 0000000..81d74be --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/req/chs/YbHcflRequest.java @@ -0,0 +1,20 @@ +package com.glxp.udidl.admin.req.chs; + +import lombok.Data; + +@Data +public class YbHcflRequest { + + private Boolean _search; + private Long nd; + private Integer rows; + private Integer page; + private String sidx; + private String sord; + private String catalogname1; + private String catalogname2; + private String catalogname3; + private String commonname; + private String matrial; + private String characteristic; +} diff --git a/src/main/java/com/glxp/udidl/admin/res/chs/YbHcflResponse.java b/src/main/java/com/glxp/udidl/admin/res/chs/YbHcflResponse.java new file mode 100644 index 0000000..2cb811b --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/res/chs/YbHcflResponse.java @@ -0,0 +1,103 @@ +package com.glxp.udidl.admin.res.chs; + +import com.fasterxml.jackson.annotation.JsonProperty; +import lombok.Data; +import lombok.NoArgsConstructor; + +import java.util.List; + +@NoArgsConstructor +@Data +public class YbHcflResponse { + + @JsonProperty("records") + private Integer records; + @JsonProperty("total") + private Integer total; + @JsonProperty("rows") + private List rows; + @JsonProperty("page") + private Integer page; + @JsonProperty("count") + private Integer count; + @JsonProperty("firstResult") + private Integer firstResult; + @JsonProperty("maxResults") + private Integer maxResults; + @JsonProperty("success") + private Boolean success; + @JsonProperty("result") + private String result; + @JsonProperty("conditions") + private ConditionsDTO conditions; + @JsonProperty("msg") + private String msg; + @JsonProperty("form") + private String form; + @JsonProperty("code") + private Integer code; + @JsonProperty("operCount") + private Integer operCount; + @JsonProperty("sord") + private String sord; + @JsonProperty("sidx") + private String sidx; + @JsonProperty("orderby") + private String orderby; + + @NoArgsConstructor + @Data + public static class ConditionsDTO { + @JsonProperty("orderColumn") + private Integer orderColumn; + } + + @NoArgsConstructor + @Data + public static class RowsDTO { + @JsonProperty("specificationId") + private String specificationId; + @JsonProperty("specificationCode") + private String specificationCode; + @JsonProperty("catalogcode") + private String catalogcode; + @JsonProperty("catalogname1") + private String catalogname1; + @JsonProperty("catalogname2") + private String catalogname2; + @JsonProperty("catalogname3") + private String catalogname3; + @JsonProperty("commonnamecode") + private String commonnamecode; + @JsonProperty("commonname") + private String commonname; + @JsonProperty("matrialcode") + private String matrialcode; + @JsonProperty("matrial") + private String matrial; + @JsonProperty("characteristiccode") + private String characteristiccode; + @JsonProperty("characteristic") + private String characteristic; + @JsonProperty("separateCharges") + private String separateCharges; + @JsonProperty("paymentType") + private String paymentType; + @JsonProperty("paymentStandard") + private String paymentStandard; + @JsonProperty("isusing") + private Integer isusing; + @JsonProperty("specificationType") + private String specificationType; + @JsonProperty("productStatusS") + private String productStatusS; + @JsonProperty("productCount") + private String productCount; + @JsonProperty("compCount") + private String compCount; + @JsonProperty("regCount") + private String regCount; + @JsonProperty("goodsCount") + private String goodsCount; + } +} diff --git a/src/main/java/com/glxp/udidl/admin/service/chs/YbChsHttpClient.java b/src/main/java/com/glxp/udidl/admin/service/chs/YbChsHttpClient.java new file mode 100644 index 0000000..d70369d --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/service/chs/YbChsHttpClient.java @@ -0,0 +1,40 @@ +package com.glxp.udidl.admin.service.chs; + +import cn.hutool.core.util.StrUtil; +import com.alibaba.fastjson.JSONObject; +import com.alibaba.fastjson.TypeReference; +import com.glxp.udidl.admin.req.chs.YbHcflRequest; +import com.glxp.udidl.admin.res.tyapi.SupplierResponse; +import com.glxp.udidl.admin.util.OkHttpCli; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import java.util.HashMap; +import java.util.Map; + +@Slf4j +@Service +public class YbChsHttpClient { + + @Resource + OkHttpCli okHttpCli; + + /** + * 获取耗材分类目录 + */ + String getHcflUrl = "https://code.nhsa.gov.cn/hc/stdSpecification/getStdSpecificationListDataCompanyReport.html"; + /** + * 获取医用耗材信息 + */ + String getYyhcxxUrl = "https://code.nhsa.gov.cn/hc/stdPublishData/getNewPublishRelationDataList.html"; + /** + * 获取医用耗材规格信息 + */ + String getHcxxGgUrl = "https://code.nhsa.gov.cn/hc/stdYgbData/getPublicHcDataList.html"; + + + + + +} diff --git a/src/main/java/com/glxp/udidl/admin/service/chs/YbHcflService.java b/src/main/java/com/glxp/udidl/admin/service/chs/YbHcflService.java new file mode 100644 index 0000000..3514428 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/service/chs/YbHcflService.java @@ -0,0 +1,10 @@ +package com.glxp.udidl.admin.service.chs; + +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.udidl.admin.dao.chs.YbHcflMapper; +import com.glxp.udidl.admin.entity.chs.YbHcflEntity; +@Service +public class YbHcflService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxGgService.java b/src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxGgService.java new file mode 100644 index 0000000..dd6bc96 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxGgService.java @@ -0,0 +1,10 @@ +package com.glxp.udidl.admin.service.chs; + +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.udidl.admin.entity.chs.YbHcxxGgEntity; +import com.glxp.udidl.admin.dao.chs.YbHcxxGgMapper; +@Service +public class YbHcxxGgService extends ServiceImpl { + +} diff --git a/src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxService.java b/src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxService.java new file mode 100644 index 0000000..c4a68b3 --- /dev/null +++ b/src/main/java/com/glxp/udidl/admin/service/chs/YbHcxxService.java @@ -0,0 +1,10 @@ +package com.glxp.udidl.admin.service.chs; + +import org.springframework.stereotype.Service; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.glxp.udidl.admin.entity.chs.YbHcxxEntity; +import com.glxp.udidl.admin.dao.chs.YbHcxxMapper; +@Service +public class YbHcxxService extends ServiceImpl { + +} diff --git a/src/main/resources/mybatis/mapper/chs/YbHcflMapper.xml b/src/main/resources/mybatis/mapper/chs/YbHcflMapper.xml new file mode 100644 index 0000000..1b0899f --- /dev/null +++ b/src/main/resources/mybatis/mapper/chs/YbHcflMapper.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, specificationCode, specificationId, catalogcode, catalogname1, catalogname2, + catalogname3, commonnamecode, commonname, matrialcode, matrial, characteristiccode, + characteristic, separateCharges, paymentType, paymentStandard, isusing, specificationType, + productStatusS, productCount, compCount, regCount, goodsCount + + diff --git a/src/main/resources/mybatis/mapper/chs/YbHcxxGgMapper.xml b/src/main/resources/mybatis/mapper/chs/YbHcxxGgMapper.xml new file mode 100644 index 0000000..fd5510d --- /dev/null +++ b/src/main/resources/mybatis/mapper/chs/YbHcxxGgMapper.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, addTime, addUserId, addUserName, auditRemark, auditUserId, auditUserName, catalogCode, + catalogname1, catalogname2, catalogname3, characteristic, codeOld, codeShow, commonname, + companyName, dataType, ggxhCode, goodsid, isUsing, lastUpdateTime, lastUpdateUserId, + lastUpdateUserName, mapingCode, matrial, model, oldregcardnm, productName, productid, + productionCode, regcardName, regcardid, regcardnm, registrant, relationId, relationStatus, + releaseVersion, specification, specificationCode, udiCode + + diff --git a/src/main/resources/mybatis/mapper/chs/YbHcxxMapper.xml b/src/main/resources/mybatis/mapper/chs/YbHcxxMapper.xml new file mode 100644 index 0000000..693d9c4 --- /dev/null +++ b/src/main/resources/mybatis/mapper/chs/YbHcxxMapper.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + id, specificationCode, hcflCodeFk, catalogname1, catalogname2, catalogname3, characteristic, + codeCount, codeCounts, commonname, compCounts, companyName, matrial, model, proCounts, + prodCount, productName, productionCode, regCount, regCounts, regcardName, regcardnm, + releaseVersion, specCount, specCounts, specification, totals + +