|
|
|
@ -121,27 +121,35 @@
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<!-- <update id="updateBaseProductAttached" parameterType="BaseProductAttached">-->
|
|
|
|
|
<!-- update base_product_attached-->
|
|
|
|
|
<!-- <trim prefix="SET" suffixOverrides=",">-->
|
|
|
|
|
<!-- <if test="productCode != null">product_code = #{productCode},</if>-->
|
|
|
|
|
<!-- <if test="category != null">category = #{category},</if>-->
|
|
|
|
|
<!-- <if test="pc != null">pc = #{pc},</if>-->
|
|
|
|
|
<!-- <if test="iei != null">iei = #{iei},</if>-->
|
|
|
|
|
<!-- <if test="manStandar != null">man_standar = #{manStandar},</if>-->
|
|
|
|
|
<!-- <if test="sprayWay != null">spray_way = #{sprayWay},</if>-->
|
|
|
|
|
<!-- <if test="blankDiameter != null">blank_diameter = #{blankDiameter},</if>-->
|
|
|
|
|
<!-- <if test="blankNo != null">blank_no = #{blankNo},</if>-->
|
|
|
|
|
<!-- <if test="sprayVolume != null">spray_volume = #{sprayVolume},</if>-->
|
|
|
|
|
<!-- <if test="liquidNo != null">liquid_no = #{liquidNo},</if>-->
|
|
|
|
|
<!-- <if test="endometrialDosage != null">endometrial_dosage = #{endometrialDosage},</if>-->
|
|
|
|
|
<!-- <if test="outerFilmDosage != null">outer_film_dosage = #{outerFilmDosage},</if>-->
|
|
|
|
|
<!-- <if test="support != null">support = #{support},</if>-->
|
|
|
|
|
<!-- <if test="supportNo != null">support_no = #{supportNo},</if>-->
|
|
|
|
|
<!-- <if test="pvc != null">pvc = #{pvc},</if>-->
|
|
|
|
|
<!-- <if test="supportPlate != null">support_plate = #{supportPlate},</if>-->
|
|
|
|
|
<!-- <if test="other != null">other = #{other},</if>-->
|
|
|
|
|
<!-- </trim>-->
|
|
|
|
|
<!-- where id = #{id}-->
|
|
|
|
|
<!-- </update>-->
|
|
|
|
|
|
|
|
|
|
<update id="updateBaseProductAttached" parameterType="BaseProductAttached">
|
|
|
|
|
update base_product_attached
|
|
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
|
|
<if test="productCode != null">product_code = #{productCode},</if>
|
|
|
|
|
<if test="category != null">category = #{category},</if>
|
|
|
|
|
<if test="pc != null">pc = #{pc},</if>
|
|
|
|
|
<if test="iei != null">iei = #{iei},</if>
|
|
|
|
|
<if test="manStandar != null">man_standar = #{manStandar},</if>
|
|
|
|
|
<if test="sprayWay != null">spray_way = #{sprayWay},</if>
|
|
|
|
|
<if test="blankDiameter != null">blank_diameter = #{blankDiameter},</if>
|
|
|
|
|
<if test="blankNo != null">blank_no = #{blankNo},</if>
|
|
|
|
|
<if test="sprayVolume != null">spray_volume = #{sprayVolume},</if>
|
|
|
|
|
<if test="liquidNo != null">liquid_no = #{liquidNo},</if>
|
|
|
|
|
<if test="endometrialDosage != null">endometrial_dosage = #{endometrialDosage},</if>
|
|
|
|
|
<if test="outerFilmDosage != null">outer_film_dosage = #{outerFilmDosage},</if>
|
|
|
|
|
<if test="support != null">support = #{support},</if>
|
|
|
|
|
<if test="supportNo != null">support_no = #{supportNo},</if>
|
|
|
|
|
<if test="pvc != null">pvc = #{pvc},</if>
|
|
|
|
|
<if test="supportPlate != null">support_plate = #{supportPlate},</if>
|
|
|
|
|
<if test="other != null">other = #{other},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
set
|
|
|
|
|
iei = #{iei},
|
|
|
|
|
man_standar = #{manStandar}
|
|
|
|
|
where id = #{id}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|