feat: 多码融合

v3
chenhc 8 months ago
parent f66e63eece
commit d3f96a109a

@ -73,8 +73,8 @@ public class CodeRel {
@TableField(value = "createTime") @TableField(value = "createTime")
public Date createTime; public Date createTime;
@TableField(value = "fromtype") @TableField(value = "fromType")
public Integer fromtype; public Integer fromType;
} }

@ -16,7 +16,7 @@
<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">
<!--@mbg.generated--> <!--@mbg.generated-->
@ -45,7 +45,7 @@
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">
@ -85,7 +85,7 @@
<if test="createTime != null"> <if test="createTime != null">
createTime, createTime,
</if> </if>
<if test="fromtype != null"> <if test="fromType != null">
fromType, fromType,
</if> </if>
</trim> </trim>
@ -123,8 +123,8 @@
<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},
</if> </if>
</trim> </trim>
</insert> </insert>
@ -165,8 +165,8 @@
<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 id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
@ -185,7 +185,7 @@
`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>
@ -222,8 +222,8 @@
<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>

Loading…
Cancel
Save