|
@@ -265,6 +265,18 @@
|
|
<if test="goodsTypeCount != null">
|
|
<if test="goodsTypeCount != null">
|
|
goods_type_count,
|
|
goods_type_count,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="linkTesco != null">
|
|
|
|
+ link_tesco,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverName != null">
|
|
|
|
+ receiver_name,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverPhone != null">
|
|
|
|
+ receiver_phone,
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverAddress != null">
|
|
|
|
+ receiver_address,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -372,6 +384,18 @@
|
|
<if test="goodsTypeCount != null">
|
|
<if test="goodsTypeCount != null">
|
|
#{goodsTypeCount,jdbcType=INTEGER},
|
|
#{goodsTypeCount,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="linkTesco != null">
|
|
|
|
+ #{linkTesco,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverName != null">
|
|
|
|
+ #{receiverName,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverPhone != null">
|
|
|
|
+ #{receiverPhone,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverAddress != null">
|
|
|
|
+ #{receiverAddress,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotHeadExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.jsh.erp.datasource.entities.DepotHeadExample" resultType="java.lang.Long">
|
|
@@ -627,6 +651,18 @@
|
|
<if test="goodsTypeCount != null">
|
|
<if test="goodsTypeCount != null">
|
|
goods_type_count = #{goodsTypeCount,jdbcType=INTEGER},
|
|
goods_type_count = #{goodsTypeCount,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="linkTesco != null">
|
|
|
|
+ link_tesco =#{linkTesco,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverName != null">
|
|
|
|
+ receiver_name = #{receiverName,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverPhone != null">
|
|
|
|
+ receiver_phone = #{receiverPhone,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
|
|
+ <if test="receiverAddress != null">
|
|
|
|
+ receiver_address = #{receiverAddress,jdbcType=VARCHAR}
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=BIGINT}
|
|
where id = #{id,jdbcType=BIGINT}
|
|
</update>
|
|
</update>
|