insert into complaint_event( event_id,create_user_id,complaint_id,create_user_name,remark,event_type,community_id ) values ( #{eventId},#{createUserId},#{complaintId},#{createUserName},#{remark},#{eventType},#{communityId} ) update complaint_event t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.create_user_id= #{createUserId} , t.complaint_id= #{complaintId} , t.create_user_name= #{createUserName} , t.remark= #{remark} , t.event_type= #{eventType} , t.community_id= #{communityId} where 1=1 and t.event_id= #{eventId}