|
@@ -0,0 +1,37 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper
|
|
|
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.rongwei.bscommon.sys.dao.ApsCustomerManagementDao">
|
|
|
+
|
|
|
+
|
|
|
+ <update id="myUpdateById">
|
|
|
+ update aps_customer_management
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
+ <if test="item.tenantid!= null">TENANTID=#{item.tenantid},</if>
|
|
|
+ <if test="item.roption!= null">ROPTION=#{item.roption},</if>
|
|
|
+ <if test="item.deleted!= null">DELETED=#{item.deleted},</if>
|
|
|
+ <if test="item.remark!= null">REMARK=#{item.remark},</if>
|
|
|
+ <if test="item.createdate!= null">CREATEDATE=#{item.createdate},</if>
|
|
|
+ <if test="item.createuserid!= null">CREATEUSERID=#{item.createuserid},</if>
|
|
|
+ <if test="item.modifydate!= null">MODIFYDATE=#{item.modifydate},</if>
|
|
|
+ <if test="item.modifyuserid!= null">MODIFYUSERID=#{item.modifyuserid},</if>
|
|
|
+ <if test="item.createusername!= null">CREATEUSERNAME=#{item.createusername},</if>
|
|
|
+ <if test="item.modifyusername!= null">MODIFYUSERNAME=#{item.modifyusername},</if>
|
|
|
+ <if test="item.customerunit!= null">CUSTOMERUNIT=#{item.customerunit},</if>
|
|
|
+ <if test="item.customername!= null">CUSTOMERNAME=#{item.customername},</if>
|
|
|
+ <if test="item.customerabbreviation!= null">CUSTOMERABBREVIATION=#{item.customerabbreviation},</if>
|
|
|
+ <if test="item.deliveryaddress!= null">DELIVERYADDRESS=#{item.deliveryaddress},</if>
|
|
|
+ <if test="item.deliverytime!= null">DELIVERYTIME=#{item.deliverytime},</if>
|
|
|
+ <if test="item.contacts!= null">CONTACTS=#{item.contacts},</if>
|
|
|
+ <if test="item.contactsmobile!= null">CONTACTSMOBILE=#{item.contactsmobile},</if>
|
|
|
+ <if test="item.storeid!= null">STOREID=#{item.storeid},</if>
|
|
|
+ <if test="item.socialcode!= null">SOCIALCODE=#{item.socialcode},</if>
|
|
|
+ <if test="item.email!= null">EMAIL=#{item.email},</if>
|
|
|
+ <if test="item.customertype!= null">CUSTOMERTYPE=#{item.customertype},</if>
|
|
|
+ <if test="item.isdeleted!= null">ISDELETED=#{item.isdeleted},</if>
|
|
|
+ <if test="item.manufactroy!= null">MANUFACTROY=#{item.manufactroy},</if>
|
|
|
+ </trim>
|
|
|
+ where ID = #{item.id}
|
|
|
+ </update>
|
|
|
+</mapper>
|