|
|
|
@ -16,7 +16,7 @@
|
|
|
|
|
<result column="status" jdbcType="VARCHAR" property="status" />
|
|
|
|
|
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
|
|
<result column="createTime" jdbcType="TIMESTAMP" property="createTime" />
|
|
|
|
|
<result column="fromType" jdbcType="TINYINT" property="fromtype" />
|
|
|
|
|
<result column="fromType" jdbcType="TINYINT" property="fromType" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
<!--@mbg.generated-->
|
|
|
|
@ -45,7 +45,7 @@
|
|
|
|
|
values (#{diNameCode,jdbcType=VARCHAR}, #{drugCode,jdbcType=VARCHAR}, #{ybbm,jdbcType=VARCHAR},
|
|
|
|
|
#{ycCode,jdbcType=VARCHAR}, #{sptm,jdbcType=VARCHAR}, #{ypbwm,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 id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.glxp.udidl.admin.entity.chs.CodeRel" useGeneratedKeys="true">
|
|
|
|
@ -85,7 +85,7 @@
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
createTime,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fromtype != null">
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
fromType,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
@ -123,8 +123,8 @@
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
#{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fromtype != null">
|
|
|
|
|
#{fromtype,jdbcType=TINYINT},
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
#{fromType,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
@ -165,8 +165,8 @@
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
createTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fromtype != null">
|
|
|
|
|
fromType = #{fromtype,jdbcType=TINYINT},
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
fromType = #{fromType,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
@ -185,7 +185,7 @@
|
|
|
|
|
`status` = #{status,jdbcType=VARCHAR},
|
|
|
|
|
updateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
|
|
createTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
fromType = #{fromtype,jdbcType=TINYINT}
|
|
|
|
|
fromType = #{fromType,jdbcType=TINYINT}
|
|
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
@ -222,8 +222,8 @@
|
|
|
|
|
<if test="createTime != null">
|
|
|
|
|
createTime = #{createTime,jdbcType=TIMESTAMP},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="fromtype != null">
|
|
|
|
|
fromType = #{fromtype,jdbcType=TINYINT},
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
fromType = #{fromType,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
<where>
|
|
|
|
|