meeting_id, business_id, project_id, project_no, project_name, meeting_name, period_no, total_periods, project_form, start_time, end_time, address, current_stage, supervision_opinion, supervision_by, supervision_time, material_audit_stage, is_executed, execute_time, is_settled, settle_time, is_finished, finish_time, is_frozen, freeze_time, material_audit_time, material_compliance_approved, submit_deadline, invitation_url, schedule_url, poster_url, labor_signed, labor_fee, meeting_fee, total_fee, fee_calc_status, create_by, create_time, update_by, update_time, is_deleted insert into biz_meeting meeting_id, business_id, project_id, project_no, project_name, meeting_name, period_no, total_periods, project_form, start_time, end_time, address, current_stage, supervision_opinion, supervision_by, supervision_time, material_audit_stage, submit_deadline, invitation_url, schedule_url, poster_url, labor_signed, create_by, create_time, update_by, update_time, #{meetingId}, #{businessId}, #{projectId}, #{projectNo}, #{projectName}, #{meetingName}, #{periodNo}, #{totalPeriods}, #{projectForm}, #{startTime}, #{endTime}, #{address}, #{currentStage}, #{supervisionOpinion}, #{supervisionBy}, #{supervisionTime}, #{materialAuditStage}, #{submitDeadline}, #{invitationUrl}, #{scheduleUrl}, #{posterUrl}, #{laborSigned}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update biz_meeting business_id = #{businessId}, project_id = #{projectId}, project_no = #{projectNo}, project_name = #{projectName}, meeting_name = #{meetingName}, period_no = #{periodNo}, total_periods = #{totalPeriods}, project_form = #{projectForm}, start_time = #{startTime}, end_time = #{endTime}, address = #{address}, current_stage = #{currentStage}, supervision_opinion = #{supervisionOpinion}, supervision_by = #{supervisionBy}, supervision_time = #{supervisionTime}, material_audit_stage = #{materialAuditStage}, is_executed = #{isExecuted}, execute_time = #{executeTime}, is_settled = #{isSettled}, settle_time = #{settleTime}, is_finished = #{isFinished}, finish_time = #{finishTime}, is_frozen = #{isFrozen}, freeze_time = #{freezeTime}, material_audit_time = #{materialAuditTime}, material_compliance_approved = #{materialComplianceApproved}, submit_deadline = #{submitDeadline}, invitation_url = #{invitationUrl}, schedule_url = #{scheduleUrl}, poster_url = #{posterUrl}, labor_signed = #{laborSigned}, update_by = #{updateBy}, update_time = #{updateTime}, where meeting_id = #{meetingId} delete from biz_meeting where meeting_id = #{meetingId} delete from biz_meeting where meeting_id in #{meetingId} update biz_meeting set is_deleted = 1 where meeting_id = #{meetingId} update biz_meeting set is_executed = 1, execute_time = NOW(), current_stage = 'RUNNING' where is_deleted = 0 and is_executed = 0 and is_frozen = 0 and start_time is not null and start_time <= NOW() and material_audit_stage = 'NOT_SUBMITTED' update biz_meeting set is_frozen = 1, freeze_time = NOW(), current_stage = 'FROZEN' where is_deleted = 0 and is_frozen = 0 and material_audit_stage in ('NOT_SUBMITTED', 'REJECTED') and submit_deadline is not null and submit_deadline <= NOW() update biz_meeting set current_stage = 'AWAITING_SETTLEMENT' where is_deleted = 0 and is_frozen = 0 and is_settled = 0 and is_finished = 0 and material_audit_stage = 'APPROVED' and current_stage = 'SUPERVISION_APPROVED' and material_audit_time is not null and material_audit_time <= (NOW() - INTERVAL 1 DAY) update biz_meeting set fee_calc_status = 0 where meeting_id = #{meetingId} update biz_meeting set labor_fee = #{laborFee}, meeting_fee = #{meetingFee}, total_fee = #{totalFee}, fee_calc_status = 1 where meeting_id = #{meetingId}