select project_id, project_no, project_name, total_sessions, done_sessions, todo_sessions, total_amount, available_amount, paid_labor_amount, paid_meeting_amount, rating_score, rating_q1, rating_q2, rating_q3, rating_q4, org_name, org_type, project_form, is_finished, is_settled, org_id, create_by, create_time, update_by, update_time, manage_fee, start_time, end_time, submit_deadline_days, support_contract_url, execute_contract_url, invitation_url, support_letter_url, publish_url, notice_url, schedule_url, is_published, publish_time, announcement_type from biz_project select p.project_id, p.project_no, p.project_name, p.total_sessions, p.done_sessions, p.todo_sessions, p.total_amount, p.available_amount, p.paid_labor_amount, p.paid_meeting_amount, p.org_name, p.org_type, p.project_form, p.is_finished, p.is_settled, p.org_id, p.create_by, p.create_time, p.update_by, p.update_time, p.manage_fee, p.start_time, p.end_time, p.submit_deadline_days, p.support_contract_url, p.execute_contract_url, p.invitation_url, p.support_letter_url, p.publish_url, p.notice_url, p.schedule_url, p.is_published, p.publish_time, p.announcement_type, bps.sponsor_rating as sponsor_rating, bps.sponsor_q1 as sponsor_q1, bps.sponsor_q2 as sponsor_q2, bps.sponsor_q3 as sponsor_q3, bps.sponsor_q4 as sponsor_q4, bps.sponsor_remark as sponsor_remark from biz_project p left join biz_project_sponsor bps on bps.project_id = p.project_id and bps.user_id = #{params.loginUid} insert into biz_project project_id, project_no, project_name, total_sessions, done_sessions, todo_sessions, total_amount, available_amount, paid_labor_amount, paid_meeting_amount, rating_score, rating_q1, rating_q2, rating_q3, rating_q4, org_name, org_type, project_form, is_finished, is_settled, org_id, create_by, create_time, update_by, update_time, manage_fee, start_time, end_time, submit_deadline_days, support_contract_url, execute_contract_url, invitation_url, support_letter_url, publish_url, notice_url, schedule_url, is_published, publish_time, announcement_type, #{projectId}, #{projectNo}, #{projectName}, #{totalSessions}, #{doneSessions}, #{todoSessions}, #{totalAmount}, #{availableAmount}, #{paidLaborAmount}, #{paidMeetingAmount}, #{ratingScore}, #{ratingQ1}, #{ratingQ2}, #{ratingQ3}, #{ratingQ4}, #{orgName}, #{orgType}, #{projectForm}, #{isFinished}, #{isSettled}, #{orgId}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{manageFee}, #{startTime}, #{endTime}, #{submitDeadlineDays}, #{supportContractUrl}, #{executeContractUrl}, #{invitationUrl}, #{supportLetterUrl}, #{publishUrl}, #{noticeUrl}, #{scheduleUrl}, #{isPublished}, #{publishTime}, #{announcementType}, update biz_project manage_fee = #{manageFee}, start_time = #{startTime}, end_time = #{endTime}, submit_deadline_days = #{submitDeadlineDays}, support_contract_url = #{supportContractUrl}, execute_contract_url = #{executeContractUrl}, invitation_url = #{invitationUrl}, support_letter_url = #{supportLetterUrl}, publish_url = #{publishUrl}, notice_url = #{noticeUrl}, schedule_url = #{scheduleUrl}, is_published = #{isPublished}, publish_time = #{publishTime}, announcement_type = #{announcementType}, project_no = #{projectNo}, project_name = #{projectName}, total_sessions = #{totalSessions}, done_sessions = #{doneSessions}, todo_sessions = #{todoSessions}, total_amount = #{totalAmount}, available_amount = #{availableAmount}, paid_labor_amount = #{paidLaborAmount}, paid_meeting_amount = #{paidMeetingAmount}, rating_score = #{ratingScore}, rating_q1 = #{ratingQ1}, rating_q2 = #{ratingQ2}, rating_q3 = #{ratingQ3}, rating_q4 = #{ratingQ4}, org_name = #{orgName}, org_type = #{orgType}, project_form = #{projectForm}, is_finished = #{isFinished}, is_settled = #{isSettled}, org_id = #{orgId}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where project_id = #{projectId} delete from biz_project where project_id = #{projectId} delete from biz_project where project_id in #{projectId}