select id, node_id, project_id, owner_name, owner_phone, data_date, start_date, plan_start_date, end_date, plan_end_date, duration, remaining_days, status, remark, files, work, next_week_work, problem, is_del, create_by, create_time, update_by, update_time, update_info from sur_project_build_design_data select a.*,b.node_text,b.node_lvl,b.node_type,p.projectName from sur_project_build_design_data a,base_build_node b,sur_project p where a.node_id=b.id and a.project_id=p.id and a.is_del!=1 and b.is_del!=1 and p.isdel!=1 insert into sur_project_build_design_data node_id, project_id, owner_name, owner_phone, data_date, start_date, plan_start_date, end_date, plan_end_date, duration, remaining_days, status, remark, files, work, next_week_work, problem, is_del, create_by, create_time, update_by, update_time, update_info, #{nodeId}, #{projectId}, #{ownerName}, #{ownerPhone}, #{dataDate}, #{startDate}, #{planStartDate}, #{endDate}, #{planEndDate}, #{duration}, #{remainingDays}, #{status}, #{remark}, #{files}, #{work}, #{nextWeekWork}, #{problem}, #{isDel}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{updateInfo}, update sur_project_build_design_data node_id = #{nodeId}, project_id = #{projectId}, owner_name = #{ownerName}, owner_phone = #{ownerPhone}, data_date = #{dataDate}, start_date = #{startDate}, plan_start_date = #{planStartDate}, end_date = #{endDate}, plan_end_date = #{planEndDate}, duration = #{duration}, remaining_days = #{remainingDays}, status = #{status}, remark = #{remark}, files = #{files}, work = #{work}, next_week_work = #{nextWeekWork}, problem = #{problem}, is_del = #{isDel}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, update_info = #{updateInfo}, where id = #{id} delete from sur_project_build_design_data where id = #{id} delete from sur_project_build_design_data where id in #{id}