insert into cm_brand_auth (authUserId, authParty, provinceId, cityId, townId, address, lng, lat, mobile, userMobile, linkMan, linkMobile, firstClubType, secondClubType, medicalLicenseImage, empNum, logo, customFlag, remarks, authCode, authDate, authImageLogo, authImage, authImageType, status, createTime, createBy, createSource, auditBy, auditTime, auditStatus, shopAuditBy, shopAuditTime, shopAuditStatus, checkFlag, delFlag) values (#{authUserId}, #{authParty}, #{provinceId}, #{cityId}, #{townId}, #{address}, #{lng}, #{lat}, #{mobile}, #{userMobile}, #{linkMan}, #{linkMobile}, #{firstClubType}, #{secondClubType}, #{medicalLicenseImage}, #{empNum}, #{logo}, #{customFlag}, #{remarks}, #{authCode}, #{authDate}, #{authImageLogo}, #{authImage}, #{authImageType}, #{status}, NOW(), #{createBy}, #{createSource}, #{auditBy}, #{auditTime}, #{auditStatus}, #{shopAuditBy}, #{shopAuditTime}, #{shopAuditStatus}, #{checkFlag}, #{delFlag}) insert into cm_brand_auth_banner (authId, banner) VALUES (#{authId}, #{banner}) update cm_brand_auth set status = #{status} where id = #{authId} update cm_brand_auth set authParty = #{authParty}, provinceId = #{provinceId}, cityId = #{cityId}, townId = #{townId}, address = #{address}, lng = #{lng}, lat = #{lat}, mobile = #{mobile}, userMobile = #{userMobile}, linkMan = #{linkMan}, linkMobile = #{linkMobile}, firstClubType = #{firstClubType}, secondClubType = #{secondClubType}, medicalLicenseImage = #{medicalLicenseImage}, empNum = #{empNum}, logo = #{logo}, customFlag = #{customFlag}, remarks = #{remarks}, authCode = #{authCode}, authDate = #{authDate}, authImageLogo = #{authImageLogo}, authImage = #{authImage}, authImageType = #{authImageType}, status = #{status}, auditStatus = #{auditStatus}, shopAuditStatus = #{shopAuditStatus}, checkFlag = #{checkFlag}, relationId = #{relationId}, relationName = #{relationName} where id = #{id} update cm_brand_auth set relationId = #{relationId}, relationName = #{relationName} where id = #{authId} update cm_brand_auth set status = #{status}, auditStatus = #{auditStatus}, invalidReason = #{invalidReason}, auditBy = #{auditBy}, auditTime = #{auditTime} where id = #{authId} update cm_brand_auth set delFlag = 1 where id = #{authId} update ldm_latest_club_id set ldmClubId = #{ldmLatestClubId} where id = 1; update cm_brand_auth set customFlag = 1, remarks = #{remarks} where id = #{authId} update cm_brand_auth set shopAuditStatus = #{shopAuditStatus}, status = #{status}, auditStatus = #{shopAuditStatus}, shopInvalidReason = #{shopInvalidReason}, shopAuditBy = #{shopAuditBy}, shopAuditTime = #{shopAuditTime} where id = #{authId} update cm_brand_auth set sendStatus = 1 where id = #{authId} update cm_brand_auth set authImage = #{authImage}, pcAuthImage = #{pcAuthImage}, appletsAuthImage = #{appletsAuthImage} where id = #{id} update cm_brand_auth set checkFlag = 1 where id = #{authId} update cm_brand_auth set starFlag = #{starFlag}, starNum=#{starNum} starNum=null where id = #{authId} update cm_brand_auth set scanCount = scanCount + 1 where id = #{authId} delete from cm_brand_auth_banner where authId = #{authId} insert into cm_challenge_round(userName,title,ossName,ossUrl,cover,releaseTime,authId,authUserId) values(#{userName},#{title},#{ossName},#{ossUrl},#{cover},#{releaseTime},#{authId},#{authUserId}) insert into cm_ross_challenge_video(userName,title,ossName,ossUrl,cover,releaseTime,authId,linked,authUserId) values(#{userName},#{title},#{ossName},#{ossUrl},#{cover},#{releaseTime},#{authId},#{linked},#{authUserId}) insert into cm_challenge_activity(startTime,endTime,status,authUserId) values(#{startTime},#{endTime},#{status},#{authUserId}) update cm_challenge_activity set startTime=#{startTime}, endTime=#{endTime}, status = #{status} where authUserId=#{authUserId} update cm_challenge_round set shareId=#{shareId} where authId=#{authId} update cm_challenge_round set itemId=#{itemId}, status=1 where shareId=#{shareId} update cm_challenge_round set dyCommand=#{content} where authId=#{authId} delete from cm_challenge_round where id = #{videoID} update cm_challenge_activity set status = 0 where id=#{id} update cm_challenge_round set diggCount=#{diggCount}, playCount=#{playCount} where id=#{videoId} insert into cm_ross_challenge_round(authUserId,authId,userName,contestStatus,contestTime,licenseOssUrl,licenseOssName,authenticationStatus,clubUserId) values(#{authUserId},#{authId},#{userName},#{contestStatus},#{contestTime},#{licenseOssUrl},#{licenseOssName},#{authenticationStatus},#{clubUserId}) update cm_ross_challenge_video clubUserIds=#{clubUserIds} ,diggCount=diggCount+1 ,diggCount=diggCount-1 where id=#{videoId} delete from cm_ross_challenge_round where id=#{id} delete from cm_ross_challenge_video where id=#{id} delete from cm_ross_challenge_video where userName=#{mobile}