INSERT INTO customer_info
(
customerId, customerName, creditNum,
area, detailAddr, bussinessStatus,
userFlag, isInfoLink, infoLink,
roleId, comments,userMax,companyName
)
values
(
#{customerId},#{customerName},#{creditNum},
#{area},#{detailAddr},#{bussinessStatus},
#{userFlag},#{isInfoLink},#{infoLink},
#{roleId},
#{comments},
#{userMax},#{companyName}
)
UPDATE customer_info
customerName=#{customerName},
creditNum=#{creditNum},
`area`=#{area},
detailAddr=#{detailAddr},
`bussinessStatus`=#{bussinessStatus},
userFlag=#{userFlag},
isInfoLink=#{isInfoLink},
infoLink=#{infoLink},
roleId=#{roleId},
userMax=#{userMax},
companyName=#{companyName},
WHERE customerId=#{customerId}
delete from customer_info where customerId = #{customerId}