|
|
@ -337,34 +337,34 @@ |
|
|
|
<bind name="dataType" value="${dataType}"/> |
|
|
|
<bind name="dataType" value="${dataType}"/> |
|
|
|
UPDATE buyer_manage_info |
|
|
|
UPDATE buyer_manage_info |
|
|
|
<set> |
|
|
|
<set> |
|
|
|
<if test="buyer.taxpayerCode != null"> |
|
|
|
<if test="buyer.taxpayerCode != null and buyer.taxpayerCode != ''"> |
|
|
|
taxpayer_code = #{buyer.taxpayerCode,jdbcType=VARCHAR}, |
|
|
|
taxpayer_code = #{buyer.taxpayerCode,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.purchaseName != null "> |
|
|
|
<if test="buyer.purchaseName != null and buyer.purchaseName != ''"> |
|
|
|
purchase_name = #{buyer.purchaseName,jdbcType=VARCHAR}, |
|
|
|
purchase_name = #{buyer.purchaseName,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.address != null"> |
|
|
|
<if test="buyer.address != null and buyer.address != ''"> |
|
|
|
address = #{buyer.address,jdbcType=VARCHAR}, |
|
|
|
address = #{buyer.address,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.phone != null"> |
|
|
|
<if test="buyer.phone != null and buyer.phone != ''"> |
|
|
|
phone = #{buyer.phone,jdbcType=VARCHAR}, |
|
|
|
phone = #{buyer.phone,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.bankOfDeposit != null"> |
|
|
|
<if test="buyer.bankOfDeposit != null and buyer.bankOfDeposit != ''"> |
|
|
|
bank_of_deposit = #{buyer.bankOfDeposit,jdbcType=VARCHAR}, |
|
|
|
bank_of_deposit = #{buyer.bankOfDeposit,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.bankNumber != null"> |
|
|
|
<if test="buyer.bankNumber != null and buyer.bankNumber != ''"> |
|
|
|
bank_number = #{buyer.bankNumber,jdbcType=VARCHAR}, |
|
|
|
bank_number = #{buyer.bankNumber,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.bankNumber != null"> |
|
|
|
<if test="buyer.bankNumber != null and buyer.bankNumber != ''"> |
|
|
|
bank_number = #{buyer.bankNumber,jdbcType=VARCHAR}, |
|
|
|
bank_number = #{buyer.bankNumber,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.email != null"> |
|
|
|
<if test="buyer.email != null and buyer.email != ''"> |
|
|
|
email = #{buyer.email,jdbcType=VARCHAR}, |
|
|
|
email = #{buyer.email,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.sjh != null"> |
|
|
|
<if test="buyer.sjh != null and buyer.sjh != ''"> |
|
|
|
sjh = #{buyer.sjh,jdbcType=VARCHAR}, |
|
|
|
sjh = #{buyer.sjh,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.remarks != null"> |
|
|
|
<if test="buyer.remarks != null and buyer.remarks != ''"> |
|
|
|
remarks = #{buyer.remarks,jdbcType=VARCHAR}, |
|
|
|
remarks = #{buyer.remarks,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="dataType ==0"> |
|
|
|
<if test="dataType ==0"> |
|
|
@ -373,37 +373,37 @@ |
|
|
|
<if test="dataType ==1"> |
|
|
|
<if test="dataType ==1"> |
|
|
|
modify_time = SYSDATE, |
|
|
|
modify_time = SYSDATE, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.modifyUserId != null"> |
|
|
|
<if test="buyer.modifyUserId != null and buyer.modifyUserId != ''"> |
|
|
|
modify_user_id = #{buyer.modifyUserId,jdbcType=VARCHAR}, |
|
|
|
modify_user_id = #{buyer.modifyUserId,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.ghfQylx != null"> |
|
|
|
<if test="buyer.ghfQylx != null and buyer.ghfQylx != ''"> |
|
|
|
ghf_qylx = #{buyer.ghfQylx,jdbcType=VARCHAR}, |
|
|
|
ghf_qylx = #{buyer.ghfQylx,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.xhfNsrsbh != null"> |
|
|
|
<if test="buyer.xhfNsrsbh != null and buyer.xhfNsrsbh != ''"> |
|
|
|
xhf_nsrsbh = #{buyer.xhfNsrsbh,jdbcType=VARCHAR}, |
|
|
|
xhf_nsrsbh = #{buyer.xhfNsrsbh,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.xhfMc != null"> |
|
|
|
<if test="buyer.xhfMc != null and buyer.xhfMc != ''"> |
|
|
|
xhf_mc = #{buyer.xhfMc,jdbcType=VARCHAR}, |
|
|
|
xhf_mc = #{buyer.xhfMc,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.buyerCode != null "> |
|
|
|
<if test="buyer.buyerCode != null and buyer.buyerCode != ''"> |
|
|
|
buyer_code = #{buyer.buyerCode,jdbcType=VARCHAR}, |
|
|
|
buyer_code = #{buyer.buyerCode,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.invoiceName != null "> |
|
|
|
<if test="buyer.invoiceName != null and buyer.invoiceName != '' "> |
|
|
|
invoice_name = #{buyer.invoiceName,jdbcType=VARCHAR}, |
|
|
|
invoice_name = #{buyer.invoiceName,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.invoiceTaxno != null "> |
|
|
|
<if test="buyer.invoiceTaxno != null and buyer.invoiceTaxno != ''"> |
|
|
|
invoice_taxno = #{buyer.invoiceTaxno,jdbcType=VARCHAR}, |
|
|
|
invoice_taxno = #{buyer.invoiceTaxno,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.mdmMulticodeJson != null "> |
|
|
|
<if test="buyer.mdmMulticodeJson != null and buyer.mdmMulticodeJson != ''"> |
|
|
|
mdm_multicode_json = #{buyer.mdmMulticodeJson,jdbcType=VARCHAR}, |
|
|
|
mdm_multicode_json = #{buyer.mdmMulticodeJson,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.status != null "> |
|
|
|
<if test="buyer.status != null and buyer.status != ''"> |
|
|
|
status = #{buyer.status,jdbcType=VARCHAR}, |
|
|
|
status = #{buyer.status,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.syncOrder != null "> |
|
|
|
<if test="buyer.syncOrder != null and buyer.syncOrder != ''"> |
|
|
|
sync_order = #{buyer.syncOrder,jdbcType=VARCHAR}, |
|
|
|
sync_order = #{buyer.syncOrder,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="buyer.deptId != null "> |
|
|
|
<if test="buyer.deptId != null and buyer.deptId != ''"> |
|
|
|
ent_id = #{buyer.deptId,jdbcType=VARCHAR}, |
|
|
|
ent_id = #{buyer.deptId,jdbcType=VARCHAR}, |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</set> |
|
|
|
</set> |
|
|
|