insert into cm_club_remarks(clubId, serviceProviderId, remarks, addTime, questionMan,consultType) values (#{clubId}, #{serviceProviderId}, #{remarks}, now(), #{questionMan},#{consult}) insert into cm_club_remarks_file(remarksId, fileType, imageUrl) values (#{remarksId}, 1, #{imageUrl}) insert into cm_club_remarks_file(remarksId, fileType, fileName, ossName) values (#{remarksId}, 2, #{fileName}, #{ossName}) insert into cm_visitor_remarks(questionManId, serviceProviderId, remarks, addTime, questionMan, concactTime) values (#{questionManId}, #{serviceProviderId}, #{remarks}, now(), #{questionMan}, #{concactTime}) insert into cm_visitor_remarks(questionMan, questionManId, serviceProviderId, remarks, addTime,consultType) values (#{questionMan}, #{questionManId}, #{serviceProviderId}, #{remarks}, now(),#{consult}) insert into cm_visitor_remarks_file(remarksId, fileType, imageUrl) values (#{remarksId}, 1, #{image}) insert into cm_visitor_remarks_file(remarksId, fileType, fileName, ossName) values (#{remarksId}, 2, #{fileName}, #{ossName}) 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} delete from cm_club_remarks_file where remarksId = #{remarksId} delete from cm_club_remarks where id = #{remarksId} delete from cm_club_remarks_file where remarksId = #{remarksId} delete from cm_visitor_remarks_file where remarksId = #{remarksId} delete from cm_visitor_remarks where id = #{remarksId} UPDATE USER SET userBeans = #{userBeans} WHERE userID = #{userId} UPDATE user_beans_history SET pushStatus = 1 WHERE userId = #{userId} update cm_club_remarks set remarks = #{remarks}, questionMan = #{questionMan}, consultType = #{consult} where id = #{remarksId} update cm_visitor_remarks set questionMan = #{questionMan} where questionManId = #{questionManId} and serviceProviderId = #{serviceProviderId} update cm_visitor_remarks set remarks = #{remarks}, consultType = #{consult} where id = #{remarksId} update cm_visitor_remarks set clubId = #{clubId}, concactTime = now() where questionManId = #{questionManId}