select troubleshoot_id, create_by, create_time, update_by, update_time, remark, troubleshoot_name, troubleshoot_type, troubleshoot_dept, troubleshoot_rist_id, troubleshoot_check_user_id, troubleshoot_checked_dept_id, troubleshoot_bigin_time, troubleshoot_end_time, troubleshoot_distribute_status, troubleshoot_status, troubleshoot_trouble_name, troubleshoot_trouble_description, troubleshoot_trouble_level, troubleshoot_trouble_type, troubleshoot_trouble_dept, troubleshoot_trouble_address, troubleshoot_time, troubleshoot_before_change_image_url, troubleshoot_review_user_id, troubleshoot_rectification_user_id, hidden_trouble_type, hidden_trouble_status, troubleshoot_rectification_measures, troubleshoot_rectification_happening, troubleshoot_rectification_money, troubleshoot_rectification_complete_time, troubleshoot_acceptance_user_id, troubleshoot_after_change_image_url, troubleshoot_acceptance_opinion, troubleshoot_acceptance_result, troubleshoot_acceptance_image_url, troubleshoot_progress from tr_troubleshoot_list
insert into tr_troubleshoot_list
troubleshoot_id,
create_by,
create_time,
update_by,
update_time,
remark,
troubleshoot_name,
troubleshoot_type,
troubleshoot_dept,
troubleshoot_rist_id,
troubleshoot_check_user_id,
troubleshoot_checked_dept_id,
troubleshoot_bigin_time,
troubleshoot_end_time,
troubleshoot_distribute_status,
troubleshoot_status,
troubleshoot_trouble_name,
troubleshoot_trouble_description,
troubleshoot_trouble_level,
troubleshoot_trouble_type,
troubleshoot_trouble_dept,
troubleshoot_trouble_address,
troubleshoot_time,
troubleshoot_before_change_image_url,
troubleshoot_review_user_id,
troubleshoot_rectification_user_id,
hidden_trouble_type,
hidden_trouble_status,
troubleshoot_rectification_measures,
troubleshoot_rectification_happening,
troubleshoot_rectification_money,
troubleshoot_rectification_complete_time,
troubleshoot_acceptance_user_id,
troubleshoot_after_change_image_url,
troubleshoot_acceptance_opinion,
troubleshoot_acceptance_result,
troubleshoot_acceptance_image_url,
troubleshoot_progress,
#{troubleshootId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{troubleshootName},
#{troubleshootType},
#{troubleshootDept},
#{troubleshootRistId},
#{troubleshootCheckUserId},
#{troubleshootCheckedDeptId},
#{troubleshootBiginTime},
#{troubleshootEndTime},
#{troubleshootDistributeStatus},
#{troubleshootStatus},
#{troubleshootTroubleName},
#{troubleshootTroubleDescription},
#{troubleshootTroubleLevel},
#{troubleshootTroubleType},
#{troubleshootTroubleDept},
#{troubleshootTroubleAddress},
#{troubleshootTime},
#{troubleshootBeforeChangeImageUrl},
#{troubleshootReviewUserId},
#{troubleshootRectificationUserId},
#{hiddenTroubleType},
#{hiddenTroubleStatus},
#{troubleshootRectificationMeasures},
#{troubleshootRectificationHappening},
#{troubleshootRectificationMoney},
#{troubleshootRectificationCompleteTime},
#{troubleshootAcceptanceUserId},
#{troubleshootAfterChangeImageUrl},
#{troubleshootAcceptanceOpinion},
#{troubleshootAcceptanceResult},
#{troubleshootAcceptanceImageUrl},
#{troubleshootProgress},
update tr_troubleshoot_list
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
troubleshoot_name = #{troubleshootName},
troubleshoot_type = #{troubleshootType},
troubleshoot_dept = #{troubleshootDept},
troubleshoot_rist_id = #{troubleshootRistId},
troubleshoot_check_user_id = #{troubleshootCheckUserId},
troubleshoot_checked_dept_id = #{troubleshootCheckedDeptId},
troubleshoot_bigin_time = #{troubleshootBiginTime},
troubleshoot_end_time = #{troubleshootEndTime},
troubleshoot_distribute_status = #{troubleshootDistributeStatus},
troubleshoot_status = #{troubleshootStatus},
troubleshoot_trouble_name = #{troubleshootTroubleName},
troubleshoot_trouble_description = #{troubleshootTroubleDescription},
troubleshoot_trouble_level = #{troubleshootTroubleLevel},
troubleshoot_trouble_type = #{troubleshootTroubleType},
troubleshoot_trouble_dept = #{troubleshootTroubleDept},
troubleshoot_trouble_address = #{troubleshootTroubleAddress},
troubleshoot_time = #{troubleshootTime},
troubleshoot_before_change_image_url = #{troubleshootBeforeChangeImageUrl},
troubleshoot_review_user_id = #{troubleshootReviewUserId},
troubleshoot_rectification_user_id = #{troubleshootRectificationUserId},
hidden_trouble_type = #{hiddenTroubleType},
hidden_trouble_status = #{hiddenTroubleStatus},
troubleshoot_rectification_measures = #{troubleshootRectificationMeasures},
troubleshoot_rectification_happening = #{troubleshootRectificationHappening},
troubleshoot_rectification_money = #{troubleshootRectificationMoney},
troubleshoot_rectification_complete_time = #{troubleshootRectificationCompleteTime},
troubleshoot_acceptance_user_id = #{troubleshootAcceptanceUserId},
troubleshoot_after_change_image_url = #{troubleshootAfterChangeImageUrl},
troubleshoot_acceptance_opinion = #{troubleshootAcceptanceOpinion},
troubleshoot_acceptance_result = #{troubleshootAcceptanceResult},
troubleshoot_acceptance_image_url = #{troubleshootAcceptanceImageUrl},
troubleshoot_progress = #{troubleshootProgress},
where troubleshoot_id = #{troubleshootId}
delete from tr_troubleshoot_list where troubleshoot_id = #{troubleshootId}
delete from tr_troubleshoot_list where troubleshoot_id in
#{troubleshootId}