| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -5,17 +5,17 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <!--@Table code_rel-->
 | 
					 | 
					 | 
					 | 
					    <!--@Table code_rel-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <id column="id" jdbcType="INTEGER" property="id" />
 | 
					 | 
					 | 
					 | 
					    <id column="id" jdbcType="INTEGER" property="id" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="diNameCode" jdbcType="VARCHAR" property="dinamecode" />
 | 
					 | 
					 | 
					 | 
					    <result column="diNameCode" jdbcType="VARCHAR" property="diNameCode" />
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="drugCode" jdbcType="VARCHAR" property="drugcode" />
 | 
					 | 
					 | 
					 | 
					    <result column="drugCode" jdbcType="VARCHAR" property="drugCode" />
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="ybbm" jdbcType="VARCHAR" property="ybbm" />
 | 
					 | 
					 | 
					 | 
					    <result column="ybbm" jdbcType="VARCHAR" property="ybbm" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="ycCode" jdbcType="VARCHAR" property="yccode" />
 | 
					 | 
					 | 
					 | 
					    <result column="ycCode" jdbcType="VARCHAR" property="ycCode" />
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="sptm" jdbcType="VARCHAR" property="sptm" />
 | 
					 | 
					 | 
					 | 
					    <result column="sptm" jdbcType="VARCHAR" property="sptm" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="ypbwm" jdbcType="VARCHAR" property="ypbwm" />
 | 
					 | 
					 | 
					 | 
					    <result column="ypbwm" jdbcType="VARCHAR" property="ypbwm" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="tyshxyh" jdbcType="VARCHAR" property="tyshxyh" />
 | 
					 | 
					 | 
					 | 
					    <result column="tyshxyh" jdbcType="VARCHAR" property="tyshxyh" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="gjbm" jdbcType="VARCHAR" property="gjbm" />
 | 
					 | 
					 | 
					 | 
					    <result column="gjbm" jdbcType="VARCHAR" property="gjbm" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="status" jdbcType="VARCHAR" property="status" />
 | 
					 | 
					 | 
					 | 
					    <result column="status" jdbcType="VARCHAR" property="status" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="updateTime" jdbcType="TIMESTAMP" property="updatetime" />
 | 
					 | 
					 | 
					 | 
					    <result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="createTime" jdbcType="TIMESTAMP" property="createtime" />
 | 
					 | 
					 | 
					 | 
					    <result column="createTime" jdbcType="TIMESTAMP" property="createTime" />
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <result column="fromType" jdbcType="TINYINT" property="fromtype" />
 | 
					 | 
					 | 
					 | 
					    <result column="fromType" jdbcType="TINYINT" property="fromtype" />
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  </resultMap>
 | 
					 | 
					 | 
					 | 
					  </resultMap>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <sql id="Base_Column_List">
 | 
					 | 
					 | 
					 | 
					  <sql id="Base_Column_List">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -42,26 +42,26 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      tyshxyh, gjbm, `status`, 
 | 
					 | 
					 | 
					 | 
					      tyshxyh, gjbm, `status`, 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      updateTime, createTime, fromType
 | 
					 | 
					 | 
					 | 
					      updateTime, createTime, fromType
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )
 | 
					 | 
					 | 
					 | 
					      )
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    values (#{dinamecode,jdbcType=VARCHAR}, #{drugcode,jdbcType=VARCHAR}, #{ybbm,jdbcType=VARCHAR}, 
 | 
					 | 
					 | 
					 | 
					    values (#{diNameCode,jdbcType=VARCHAR}, #{drugCode,jdbcType=VARCHAR}, #{ybbm,jdbcType=VARCHAR}, 
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      #{yccode,jdbcType=VARCHAR}, #{sptm,jdbcType=VARCHAR}, #{ypbwm,jdbcType=VARCHAR}, 
 | 
					 | 
					 | 
					 | 
					      #{ycCode,jdbcType=VARCHAR}, #{sptm,jdbcType=VARCHAR}, #{ypbwm,jdbcType=VARCHAR}, 
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      #{tyshxyh,jdbcType=VARCHAR}, #{gjbm,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, 
 | 
					 | 
					 | 
					 | 
					      #{tyshxyh,jdbcType=VARCHAR}, #{gjbm,jdbcType=VARCHAR}, #{status,jdbcType=VARCHAR}, 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      #{updatetime,jdbcType=TIMESTAMP}, #{createtime,jdbcType=TIMESTAMP}, #{fromtype,jdbcType=TINYINT}
 | 
					 | 
					 | 
					 | 
					      #{updateTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP}, #{fromtype,jdbcType=TINYINT}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      )
 | 
					 | 
					 | 
					 | 
					      )
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  </insert>
 | 
					 | 
					 | 
					 | 
					  </insert>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.glxp.udidl.admin.entity.chs.CodeRel" useGeneratedKeys="true">
 | 
					 | 
					 | 
					 | 
					  <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.glxp.udidl.admin.entity.chs.CodeRel" useGeneratedKeys="true">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    insert into code_rel
 | 
					 | 
					 | 
					 | 
					    insert into code_rel
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
					 | 
					 | 
					 | 
					    <trim prefix="(" suffix=")" suffixOverrides=",">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="dinamecode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="diNameCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        diNameCode,
 | 
					 | 
					 | 
					 | 
					        diNameCode,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="drugcode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="drugCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        drugCode,
 | 
					 | 
					 | 
					 | 
					        drugCode,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ybbm,
 | 
					 | 
					 | 
					 | 
					        ybbm,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="yccode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ycCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ycCode,
 | 
					 | 
					 | 
					 | 
					        ycCode,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -79,10 +79,10 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        `status`,
 | 
					 | 
					 | 
					 | 
					        `status`,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="updatetime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="updateTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        updateTime,
 | 
					 | 
					 | 
					 | 
					        updateTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="createtime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="createTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        createTime,
 | 
					 | 
					 | 
					 | 
					        createTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -90,17 +90,17 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </trim>
 | 
					 | 
					 | 
					 | 
					    </trim>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
					 | 
					 | 
					 | 
					    <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="dinamecode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="diNameCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{dinamecode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        #{diNameCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="drugcode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="drugCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{drugcode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        #{drugCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{ybbm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        #{ybbm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="yccode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ycCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{yccode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        #{ycCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{sptm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        #{sptm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -117,11 +117,11 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{status,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        #{status,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="updatetime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="updateTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{updatetime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					        #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="createtime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="createTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{createtime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					        #{createTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{fromtype,jdbcType=TINYINT},
 | 
					 | 
					 | 
					 | 
					        #{fromtype,jdbcType=TINYINT},
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -132,17 +132,17 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    update code_rel
 | 
					 | 
					 | 
					 | 
					    update code_rel
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <set>
 | 
					 | 
					 | 
					 | 
					    <set>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="dinamecode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="diNameCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        diNameCode = #{dinamecode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        diNameCode = #{diNameCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="drugcode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="drugCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        drugCode = #{drugcode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        drugCode = #{drugCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ybbm = #{ybbm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        ybbm = #{ybbm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="yccode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ycCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ycCode = #{yccode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        ycCode = #{ycCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        sptm = #{sptm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        sptm = #{sptm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -159,11 +159,11 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        `status` = #{status,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        `status` = #{status,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="updatetime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="updateTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        updateTime = #{updatetime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					        updateTime = #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="createtime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="createTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        createTime = #{createtime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					        createTime = #{createTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        fromType = #{fromtype,jdbcType=TINYINT},
 | 
					 | 
					 | 
					 | 
					        fromType = #{fromtype,jdbcType=TINYINT},
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -174,17 +174,17 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  <update id="updateByPrimaryKey" parameterType="com.glxp.udidl.admin.entity.chs.CodeRel">
 | 
					 | 
					 | 
					 | 
					  <update id="updateByPrimaryKey" parameterType="com.glxp.udidl.admin.entity.chs.CodeRel">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
					 | 
					 | 
					 | 
					    <!--@mbg.generated-->
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    update code_rel
 | 
					 | 
					 | 
					 | 
					    update code_rel
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    set diNameCode = #{dinamecode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					    set diNameCode = #{diNameCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      drugCode = #{drugcode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      drugCode = #{drugCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      ybbm = #{ybbm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      ybbm = #{ybbm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      ycCode = #{yccode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      ycCode = #{ycCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      sptm = #{sptm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      sptm = #{sptm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      ypbwm = #{ypbwm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      ypbwm = #{ypbwm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      tyshxyh = #{tyshxyh,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      tyshxyh = #{tyshxyh,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      gjbm = #{gjbm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      gjbm = #{gjbm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      `status` = #{status,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					      `status` = #{status,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      updateTime = #{updatetime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					      updateTime = #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      createTime = #{createtime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					      createTime = #{createTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      fromType = #{fromtype,jdbcType=TINYINT}
 | 
					 | 
					 | 
					 | 
					      fromType = #{fromtype,jdbcType=TINYINT}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    where id = #{id,jdbcType=INTEGER}
 | 
					 | 
					 | 
					 | 
					    where id = #{id,jdbcType=INTEGER}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  </update>
 | 
					 | 
					 | 
					 | 
					  </update>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -198,8 +198,8 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ybbm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ybbm = #{ybbm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        ybbm = #{ybbm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="yccode != null">
 | 
					 | 
					 | 
					 | 
					      <if test="ycCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ycCode = #{yccode,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        ycCode = #{ycCode,jdbcType=VARCHAR},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
					 | 
					 | 
					 | 
					      <if test="sptm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        sptm = #{sptm,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        sptm = #{sptm,jdbcType=VARCHAR},
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -216,22 +216,22 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
					 | 
					 | 
					 | 
					      <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        `status` = #{status,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        `status` = #{status,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="updatetime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="updateTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        updateTime = #{updatetime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					        updateTime = #{updateTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="createtime != null">
 | 
					 | 
					 | 
					 | 
					      <if test="createTime != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        createTime = #{createtime,jdbcType=TIMESTAMP},
 | 
					 | 
					 | 
					 | 
					        createTime = #{createTime,jdbcType=TIMESTAMP},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
					 | 
					 | 
					 | 
					      <if test="fromtype != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        fromType = #{fromtype,jdbcType=TINYINT},
 | 
					 | 
					 | 
					 | 
					        fromType = #{fromtype,jdbcType=TINYINT},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      </if>
 | 
					 | 
					 | 
					 | 
					      </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </set>
 | 
					 | 
					 | 
					 | 
					    </set>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <where>
 | 
					 | 
					 | 
					 | 
					        <where>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="dinamecode != null">
 | 
					 | 
					 | 
					 | 
					            <if test="diNameCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                diNameCode = #{dinamecode,jdbcType=VARCHAR}
 | 
					 | 
					 | 
					 | 
					                diNameCode = #{diNameCode,jdbcType=VARCHAR}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="dinamecode == null and drugcode != null">
 | 
					 | 
					 | 
					 | 
					            <if test="diNameCode == null and drugCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                drugcode = #{drugcode,jdbcType=VARCHAR}
 | 
					 | 
					 | 
					 | 
					                drugCode = #{drugCode,jdbcType=VARCHAR}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </where>
 | 
					 | 
					 | 
					 | 
					        </where>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  </update>
 | 
					 | 
					 | 
					 | 
					  </update>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |