|
|
@@ -248,50 +248,50 @@
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.purchase.po.PurchaseDetail" >
|
|
|
update purchasedetail
|
|
|
<set >
|
|
|
- <if test="pdPuid != null" >
|
|
|
- PD_PUID = #{pdPuid,jdbcType=INTEGER},
|
|
|
+ <if test="pd_puid != null" >
|
|
|
+ PD_PUID = #{pd_puid,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="pdCode != null" >
|
|
|
- PD_CODE = #{pdCode,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_code != null" >
|
|
|
+ PD_CODE = #{pd_code,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdDetno != null" >
|
|
|
- PD_DETNO = #{pdDetno,jdbcType=INTEGER},
|
|
|
+ <if test="pd_detno != null" >
|
|
|
+ PD_DETNO = #{pd_detno,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="pdProdid != null" >
|
|
|
- PD_PRODID = #{pdProdid,jdbcType=INTEGER},
|
|
|
+ <if test="pd_prodid != null" >
|
|
|
+ PD_PRODID = #{pd_prodid,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="pdProdcode != null" >
|
|
|
- PD_PRODCODE = #{pdProdcode,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_prodcode != null" >
|
|
|
+ PD_PRODCODE = #{pd_prodcode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdUnit != null" >
|
|
|
- PD_UNIT = #{pdUnit,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_unit != null" >
|
|
|
+ PD_UNIT = #{pd_unit,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdQty != null" >
|
|
|
- PD_QTY = #{pdQty,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_qty != null" >
|
|
|
+ PD_QTY = #{pd_qty,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="pdPrice != null" >
|
|
|
- PD_PRICE = #{pdPrice,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_price != null" >
|
|
|
+ PD_PRICE = #{pd_price,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="pdTotal != null" >
|
|
|
- PD_TOTAL = #{pdTotal,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_total != null" >
|
|
|
+ PD_TOTAL = #{pd_total,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="pdTaxtotal != null" >
|
|
|
- PD_TAXTOTAL = #{pdTaxtotal,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_taxtotal != null" >
|
|
|
+ PD_TAXTOTAL = #{pd_taxtotal,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="pdAcceptqty != null" >
|
|
|
- PD_ACCEPTQTY = #{pdAcceptqty,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_acceptqty != null" >
|
|
|
+ PD_ACCEPTQTY = #{pd_acceptqty,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="pdDelivery != null" >
|
|
|
- PD_DELIVERY = #{pdDelivery,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_delivery != null" >
|
|
|
+ PD_DELIVERY = #{pd_delivery,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
- <if test="pdSalecode != null" >
|
|
|
- PD_SALECODE = #{pdSalecode,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_salecode != null" >
|
|
|
+ PD_SALECODE = #{pd_salecode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdSaledetno != null" >
|
|
|
- PD_SALEDETNO = #{pdSaledetno,jdbcType=INTEGER},
|
|
|
+ <if test="pd_saledetno != null" >
|
|
|
+ PD_SALEDETNO = #{pd_saledetno,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="pdSdid != null" >
|
|
|
- PD_SDID = #{pdSdid,jdbcType=INTEGER},
|
|
|
+ <if test="pd_sdid != null" >
|
|
|
+ PD_SDID = #{pd_sdid,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="companyId != null" >
|
|
|
companyId = #{companyId,jdbcType=INTEGER},
|
|
|
@@ -302,23 +302,23 @@
|
|
|
<if test="updateTime != null" >
|
|
|
updateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="pdText1 != null" >
|
|
|
- pd_text1 = #{pdText1,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_text1 != null" >
|
|
|
+ pd_text1 = #{pd_text1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdText2 != null" >
|
|
|
- pd_text2 = #{pdText2,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_text2 != null" >
|
|
|
+ pd_text2 = #{pd_text2,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdText3 != null" >
|
|
|
- pd_text3 = #{pdText3,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_text3 != null" >
|
|
|
+ pd_text3 = #{pd_text3,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdText4 != null" >
|
|
|
- pd_text4 = #{pdText4,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_text4 != null" >
|
|
|
+ pd_text4 = #{pd_text4,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdText5 != null" >
|
|
|
- pd_text5 = #{pdText5,jdbcType=VARCHAR},
|
|
|
+ <if test="pd_text5 != null" >
|
|
|
+ pd_text5 = #{pd_text5,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="pdYqty != null" >
|
|
|
- pd_yqty = #{pdYqty,jdbcType=DOUBLE},
|
|
|
+ <if test="pd_yqty != null" >
|
|
|
+ pd_yqty = #{pd_yqty,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
</set>
|
|
|
where PD_ID = #{id,jdbcType=INTEGER}
|