新增阿里药品信息目录
							parent
							
								
									6ce5cdc9c1
								
							
						
					
					
						commit
						3bb20f08f9
					
				@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					package com.glxp.api.dao.thrsys;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 | 
				
			||||||
 | 
					import com.glxp.api.entity.thrsys.ThirdAliDrug;
 | 
				
			||||||
 | 
					import org.apache.ibatis.annotations.Mapper;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Mapper
 | 
				
			||||||
 | 
					public interface ThirdAliDrugMapper extends BaseMapper<ThirdAliDrug> {
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,114 @@
 | 
				
			|||||||
 | 
					package com.glxp.api.entity.thrsys;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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 java.util.Date;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					import lombok.AllArgsConstructor;
 | 
				
			||||||
 | 
					import lombok.Builder;
 | 
				
			||||||
 | 
					import lombok.Data;
 | 
				
			||||||
 | 
					import lombok.NoArgsConstructor;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@ApiModel(description = "third_ali_drug")
 | 
				
			||||||
 | 
					@Data
 | 
				
			||||||
 | 
					@Builder
 | 
				
			||||||
 | 
					@AllArgsConstructor
 | 
				
			||||||
 | 
					@NoArgsConstructor
 | 
				
			||||||
 | 
					@TableName(value = "third_ali_drug")
 | 
				
			||||||
 | 
					public class ThirdAliDrug implements Serializable {
 | 
				
			||||||
 | 
					    @TableId(value = "id", type = IdType.AUTO)
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "")
 | 
				
			||||||
 | 
					    private Integer id;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 药品类型
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "`type`")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "药品类型")
 | 
				
			||||||
 | 
					    private String type;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 生产企业
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "manufacturer")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "生产企业")
 | 
				
			||||||
 | 
					    private String manufacturer;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 产品名称通用名称
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "cpmctymc")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "产品名称通用名称")
 | 
				
			||||||
 | 
					    private String cpmctymc;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 剂型
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "form")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "剂型")
 | 
				
			||||||
 | 
					    private String form;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 剂型规格
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "formSpec")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "剂型规格")
 | 
				
			||||||
 | 
					    private String formSpec;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 包装规格
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "bzgg")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "包装规格")
 | 
				
			||||||
 | 
					    private String bzgg;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 商品名称
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "spmc")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "商品名称")
 | 
				
			||||||
 | 
					    private String spmc;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 层级标识
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "nameCode")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "层级标识")
 | 
				
			||||||
 | 
					    private String nameCode;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 包装比例
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "packRatio")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "包装比例")
 | 
				
			||||||
 | 
					    private String packRatio;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 包装级别
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "packLevel")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "包装级别")
 | 
				
			||||||
 | 
					    private String packLevel;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 创建时间
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "createTime")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "创建时间")
 | 
				
			||||||
 | 
					    private Date createTime;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * 更新时间
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    @TableField(value = "updateTime")
 | 
				
			||||||
 | 
					    @ApiModelProperty(value = "更新时间")
 | 
				
			||||||
 | 
					    private Date updateTime;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    private static final long serialVersionUID = 1L;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					package com.glxp.api.service.thrsys;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					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.thrsys.ThirdAliDrugMapper;
 | 
				
			||||||
 | 
					import com.glxp.api.entity.thrsys.ThirdAliDrug;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@Service
 | 
				
			||||||
 | 
					public class ThirdAliDrugService extends ServiceImpl<ThirdAliDrugMapper, ThirdAliDrug> {
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
@ -0,0 +1,212 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 | 
				
			||||||
 | 
					<mapper namespace="com.glxp.api.dao.basic.ThirdAliDrugMapper">
 | 
				
			||||||
 | 
					  <resultMap id="BaseResultMap" type="com.glxp.api.entity.thrsys.ThirdAliDrug">
 | 
				
			||||||
 | 
					    <!--@mbg.generated-->
 | 
				
			||||||
 | 
					    <!--@Table third_ali_drug-->
 | 
				
			||||||
 | 
					    <id column="id" jdbcType="INTEGER" property="id" />
 | 
				
			||||||
 | 
					    <result column="type" jdbcType="VARCHAR" property="type" />
 | 
				
			||||||
 | 
					    <result column="manufacturer" jdbcType="VARCHAR" property="manufacturer" />
 | 
				
			||||||
 | 
					    <result column="cpmctymc" jdbcType="VARCHAR" property="cpmctymc" />
 | 
				
			||||||
 | 
					    <result column="form" jdbcType="VARCHAR" property="form" />
 | 
				
			||||||
 | 
					    <result column="formSpec" jdbcType="VARCHAR" property="formSpec" />
 | 
				
			||||||
 | 
					    <result column="bzgg" jdbcType="VARCHAR" property="bzgg" />
 | 
				
			||||||
 | 
					    <result column="spmc" jdbcType="VARCHAR" property="spmc" />
 | 
				
			||||||
 | 
					    <result column="nameCode" jdbcType="VARCHAR" property="nameCode" />
 | 
				
			||||||
 | 
					    <result column="packRatio" jdbcType="VARCHAR" property="packRatio" />
 | 
				
			||||||
 | 
					    <result column="packLevel" jdbcType="VARCHAR" property="packLevel" />
 | 
				
			||||||
 | 
					    <result column="createTime" jdbcType="TIMESTAMP" property="createTime" />
 | 
				
			||||||
 | 
					    <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
 | 
				
			||||||
 | 
					  </resultMap>
 | 
				
			||||||
 | 
					  <sql id="Base_Column_List">
 | 
				
			||||||
 | 
					    <!--@mbg.generated-->
 | 
				
			||||||
 | 
					    id, `type`, manufacturer, cpmctymc, form, formSpec, bzgg, spmc, nameCode, packRatio, 
 | 
				
			||||||
 | 
					    packLevel, createTime, updateTime
 | 
				
			||||||
 | 
					  </sql>
 | 
				
			||||||
 | 
					  <insert id="insertOrUpdate" keyColumn="id" keyProperty="id" parameterType="com.glxp.api.entity.thrsys.ThirdAliDrug" useGeneratedKeys="true">
 | 
				
			||||||
 | 
					    <!--@mbg.generated-->
 | 
				
			||||||
 | 
					    insert into third_ali_drug
 | 
				
			||||||
 | 
					    <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
				
			||||||
 | 
					      <if test="id != null">
 | 
				
			||||||
 | 
					        id,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      `type`,
 | 
				
			||||||
 | 
					      manufacturer,
 | 
				
			||||||
 | 
					      cpmctymc,
 | 
				
			||||||
 | 
					      form,
 | 
				
			||||||
 | 
					      formSpec,
 | 
				
			||||||
 | 
					      bzgg,
 | 
				
			||||||
 | 
					      spmc,
 | 
				
			||||||
 | 
					      nameCode,
 | 
				
			||||||
 | 
					      packRatio,
 | 
				
			||||||
 | 
					      packLevel,
 | 
				
			||||||
 | 
					      createTime,
 | 
				
			||||||
 | 
					      updateTime,
 | 
				
			||||||
 | 
					    </trim>
 | 
				
			||||||
 | 
					    values
 | 
				
			||||||
 | 
					    <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
				
			||||||
 | 
					      <if test="id != null">
 | 
				
			||||||
 | 
					        #{id,jdbcType=INTEGER},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      #{type,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{manufacturer,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{cpmctymc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{form,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{formSpec,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{bzgg,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{spmc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{nameCode,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{packRatio,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{packLevel,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      #{createTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					      #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					    </trim>
 | 
				
			||||||
 | 
					    on duplicate key update 
 | 
				
			||||||
 | 
					    <trim suffixOverrides=",">
 | 
				
			||||||
 | 
					      <if test="id != null">
 | 
				
			||||||
 | 
					        id = #{id,jdbcType=INTEGER},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      `type` = #{type,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      manufacturer = #{manufacturer,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      cpmctymc = #{cpmctymc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      form = #{form,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      formSpec = #{formSpec,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      bzgg = #{bzgg,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      spmc = #{spmc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      nameCode = #{nameCode,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      packRatio = #{packRatio,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      packLevel = #{packLevel,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      createTime = #{createTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					      updateTime = #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					    </trim>
 | 
				
			||||||
 | 
					  </insert>
 | 
				
			||||||
 | 
					  <insert id="insertOrUpdateSelective" keyColumn="id" keyProperty="id" parameterType="com.glxp.api.entity.thrsys.ThirdAliDrug" useGeneratedKeys="true">
 | 
				
			||||||
 | 
					    <!--@mbg.generated-->
 | 
				
			||||||
 | 
					    insert into third_ali_drug
 | 
				
			||||||
 | 
					    <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
				
			||||||
 | 
					      <if test="id != null">
 | 
				
			||||||
 | 
					        id,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="type != null">
 | 
				
			||||||
 | 
					        `type`,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="manufacturer != null">
 | 
				
			||||||
 | 
					        manufacturer,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="cpmctymc != null">
 | 
				
			||||||
 | 
					        cpmctymc,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="form != null">
 | 
				
			||||||
 | 
					        form,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="formSpec != null">
 | 
				
			||||||
 | 
					        formSpec,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="bzgg != null">
 | 
				
			||||||
 | 
					        bzgg,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="spmc != null">
 | 
				
			||||||
 | 
					        spmc,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="nameCode != null">
 | 
				
			||||||
 | 
					        nameCode,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="packRatio != null">
 | 
				
			||||||
 | 
					        packRatio,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="packLevel != null">
 | 
				
			||||||
 | 
					        packLevel,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="createTime != null">
 | 
				
			||||||
 | 
					        createTime,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="updateTime != null">
 | 
				
			||||||
 | 
					        updateTime,
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					    </trim>
 | 
				
			||||||
 | 
					    values
 | 
				
			||||||
 | 
					    <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
				
			||||||
 | 
					      <if test="id != null">
 | 
				
			||||||
 | 
					        #{id,jdbcType=INTEGER},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="type != null">
 | 
				
			||||||
 | 
					        #{type,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="manufacturer != null">
 | 
				
			||||||
 | 
					        #{manufacturer,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="cpmctymc != null">
 | 
				
			||||||
 | 
					        #{cpmctymc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="form != null">
 | 
				
			||||||
 | 
					        #{form,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="formSpec != null">
 | 
				
			||||||
 | 
					        #{formSpec,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="bzgg != null">
 | 
				
			||||||
 | 
					        #{bzgg,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="spmc != null">
 | 
				
			||||||
 | 
					        #{spmc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="nameCode != null">
 | 
				
			||||||
 | 
					        #{nameCode,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="packRatio != null">
 | 
				
			||||||
 | 
					        #{packRatio,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="packLevel != null">
 | 
				
			||||||
 | 
					        #{packLevel,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="createTime != null">
 | 
				
			||||||
 | 
					        #{createTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="updateTime != null">
 | 
				
			||||||
 | 
					        #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					    </trim>
 | 
				
			||||||
 | 
					    on duplicate key update 
 | 
				
			||||||
 | 
					    <trim suffixOverrides=",">
 | 
				
			||||||
 | 
					      <if test="id != null">
 | 
				
			||||||
 | 
					        id = #{id,jdbcType=INTEGER},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="type != null">
 | 
				
			||||||
 | 
					        `type` = #{type,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="manufacturer != null">
 | 
				
			||||||
 | 
					        manufacturer = #{manufacturer,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="cpmctymc != null">
 | 
				
			||||||
 | 
					        cpmctymc = #{cpmctymc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="form != null">
 | 
				
			||||||
 | 
					        form = #{form,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="formSpec != null">
 | 
				
			||||||
 | 
					        formSpec = #{formSpec,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="bzgg != null">
 | 
				
			||||||
 | 
					        bzgg = #{bzgg,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="spmc != null">
 | 
				
			||||||
 | 
					        spmc = #{spmc,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="nameCode != null">
 | 
				
			||||||
 | 
					        nameCode = #{nameCode,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="packRatio != null">
 | 
				
			||||||
 | 
					        packRatio = #{packRatio,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="packLevel != null">
 | 
				
			||||||
 | 
					        packLevel = #{packLevel,jdbcType=VARCHAR},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="createTime != null">
 | 
				
			||||||
 | 
					        createTime = #{createTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					      <if test="updateTime != null">
 | 
				
			||||||
 | 
					        updateTime = #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			||||||
 | 
					      </if>
 | 
				
			||||||
 | 
					    </trim>
 | 
				
			||||||
 | 
					  </insert>
 | 
				
			||||||
 | 
					</mapper>
 | 
				
			||||||
@ -0,0 +1,37 @@
 | 
				
			|||||||
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
 | 
					<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 | 
				
			||||||
 | 
					<mapper namespace="com.glxp.api.dao.thrsys.ThirdAliDrugMapper">
 | 
				
			||||||
 | 
					    <resultMap id="BaseResultMap" type="com.glxp.api.entity.thrsys.ThirdAliDrug">
 | 
				
			||||||
 | 
					        <!--@mbg.generated-->
 | 
				
			||||||
 | 
					        <!--@Table third_ali_drug-->
 | 
				
			||||||
 | 
					        <id column="id" jdbcType="INTEGER" property="id"/>
 | 
				
			||||||
 | 
					        <result column="type" jdbcType="VARCHAR" property="type"/>
 | 
				
			||||||
 | 
					        <result column="manufacturer" jdbcType="VARCHAR" property="manufacturer"/>
 | 
				
			||||||
 | 
					        <result column="cpmctymc" jdbcType="VARCHAR" property="cpmctymc"/>
 | 
				
			||||||
 | 
					        <result column="form" jdbcType="VARCHAR" property="form"/>
 | 
				
			||||||
 | 
					        <result column="formSpec" jdbcType="VARCHAR" property="formSpec"/>
 | 
				
			||||||
 | 
					        <result column="bzgg" jdbcType="VARCHAR" property="bzgg"/>
 | 
				
			||||||
 | 
					        <result column="spmc" jdbcType="VARCHAR" property="spmc"/>
 | 
				
			||||||
 | 
					        <result column="nameCode" jdbcType="VARCHAR" property="nameCode"/>
 | 
				
			||||||
 | 
					        <result column="packRatio" jdbcType="VARCHAR" property="packRatio"/>
 | 
				
			||||||
 | 
					        <result column="packLevel" jdbcType="VARCHAR" property="packLevel"/>
 | 
				
			||||||
 | 
					        <result column="createTime" jdbcType="TIMESTAMP" property="createTime"/>
 | 
				
			||||||
 | 
					        <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime"/>
 | 
				
			||||||
 | 
					    </resultMap>
 | 
				
			||||||
 | 
					    <sql id="Base_Column_List">
 | 
				
			||||||
 | 
					        <!--@mbg.generated-->
 | 
				
			||||||
 | 
					        id,
 | 
				
			||||||
 | 
					        `type`,
 | 
				
			||||||
 | 
					        manufacturer,
 | 
				
			||||||
 | 
					        cpmctymc,
 | 
				
			||||||
 | 
					        form,
 | 
				
			||||||
 | 
					        formSpec,
 | 
				
			||||||
 | 
					        bzgg,
 | 
				
			||||||
 | 
					        spmc,
 | 
				
			||||||
 | 
					        nameCode,
 | 
				
			||||||
 | 
					        packRatio,
 | 
				
			||||||
 | 
					        packLevel,
 | 
				
			||||||
 | 
					        createTime,
 | 
				
			||||||
 | 
					        updateTime
 | 
				
			||||||
 | 
					    </sql>
 | 
				
			||||||
 | 
					</mapper>
 | 
				
			||||||
					Loading…
					
					
				
		Reference in New Issue