|
|
|
@ -88,6 +88,18 @@
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
fromType,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="packUnit != null">
|
|
|
|
|
packUnit,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="bhxjsl != null">
|
|
|
|
|
bhxjsl,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="xjdw != null">
|
|
|
|
|
xjdw,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ybBzgg != null">
|
|
|
|
|
ybBzgg,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="diNameCode != null">
|
|
|
|
@ -126,6 +138,18 @@
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
#{fromType,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="packUnit != null">
|
|
|
|
|
#{packUnit,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="bhxjsl != null">
|
|
|
|
|
#{bhxjsl,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="xjdw != null">
|
|
|
|
|
#{xjdw,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ybBzgg != null">
|
|
|
|
|
#{ybBzgg,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.glxp.udidl.admin.entity.chs.CodeRel">
|
|
|
|
@ -225,6 +249,18 @@
|
|
|
|
|
<if test="fromType != null">
|
|
|
|
|
fromType = #{fromType,jdbcType=TINYINT},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="packUnit != null">
|
|
|
|
|
packUnit = #{packUnit,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="bhxjsl != null">
|
|
|
|
|
bhxjsl = #{bhxjsl,jdbcType=INTEGER},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="xjdw != null">
|
|
|
|
|
xjdw = #{xjdw,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="ybBzgg != null">
|
|
|
|
|
ybBzgg = #{ybBzgg,jdbcType=VARCHAR},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
<where>
|
|
|
|
|
<if test="diNameCode != null">
|
|
|
|
|