insert into cm_visitor_remarks(questionManId, serviceProviderId, remarks, addTime, questionMan, concactTime)
values (#{questionManId}, #{serviceProviderId}, #{remarks}, now(), #{questionMan}, #{concactTime})
insert into cm_club_remarks(clubId, serviceProviderId, remarks, addTime, questionMan, concactTime,consultType)
values (#{clubId}, #{serviceProviderId}, #{remarks}, #{addTime}, #{questionMan}, now(),#{consult})
update user set
name = #{name},
email = #{email},
userName = #{userName}
where userID = #{userId}
update club set
name = #{name},
sname = #{shortName},
contractEmail = #{contractEmail},
contractPhone = #{contractPhone},
linkMan = #{linkMan},
provinceID = #{provinceId}, cityID = #{cityId}, townID = #{townId}, address = #{address},
headpic = #{shopPhoto},
businessLicenseImage = #{businessLicense},
socialCreditCode = #{socialCreditCode},
firstClubType = #{firstClubType},
secondClubType = #{secondClubType}, department = #{department}, medicalPracticeLicenseImg =
#{medicalPracticeLicense},
mainpro = #{mainProduct},
fax = #{fax},
info = #{profile},
lastModify = NOW()
where clubID = #{clubId}
UPDATE USER
SET userBeans = #{userBeans}
WHERE userID = #{userId}
UPDATE user_beans_history
SET pushStatus = 1
WHERE userId = #{userId}
update cm_visitor_remarks
set questionMan = #{questionMan}
where questionManId = #{questionManId}
and serviceProviderId = #{serviceProviderId}
update cm_visitor_remarks
set clubId = #{clubId},
concactTime = now()
where questionManId = #{questionManId}