INSERT INTO user_register (nickName, password, realName, tel, mobile, userId, email, companyName, creditNum, area, detailAddr, bussinessStatus, checkType, registerTime, checkTime, comments, areaCode, userName, licenseUrl, companyId , udplatCompanyName, udplatCompanyId) values (#{nickName}, #{password}, #{realName}, #{tel}, #{mobile}, #{userId}, #{email}, #{companyName}, #{creditNum}, #{area}, #{detailAddr}, #{bussinessStatus}, #{checkType}, #{registerTime}, #{checkTime}, #{comments}, #{areaCode}, #{userName}, #{licenseUrl}, #{companyId} , #{udplatCompanyName}, #{udplatCompanyId}) UPDATE user_register `nickName`=#{nickName}, password=#{password}, `realName`=#{realName}, tel=#{tel}, `mobile`=#{mobile}, userId=#{userId}, email=#{email}, companyName=#{companyName}, creditNum=#{creditNum}, area=#{area}, detailAddr=#{detailAddr}, bussinessStatus=#{bussinessStatus}, checkType=#{checkType}, registerTime=#{registerTime}, checkTime=#{checkTime}, areaCode=#{areaCode}, userName=#{userName}, licenseUrl=#{licenseUrl}, companyId=#{companyId}, WHERE id=#{id} delete from user_register where id = #{id} delete from user_register where userId = #{userId}