insert into tt_project_single project_single_name, project_id, project_single_code, safe_code, project_type, detail_type, project_status, construction_status, voltage_level, construction_nature, major_project, provincial_company, construction_management, com_code, address, current_current, line_length, substation_capacity, plan_start_time, plan_end_time, start_time, end_time, tower_num, engineering_completed, tower_completed, erection_completed, remark, del_flag #{projectSingleName}, #{projectId}, #{projectSingleCode}, #{safeCode}, #{projectType}, #{detailType}, #{projectStatus}, #{constructionStatus}, #{voltageLevel}, #{constructionNature}, #{majorProject}, #{provincialCompany}, #{constructionManagement}, #{comCode}, #{address}, #{currentCurrent}, #{lineLength}, #{substationCapacity}, #{planStartTime}, #{planEndTime}, #{startTime}, #{endTime}, #{towerNum}, #{engineeringCompleted}, #{towerCompleted}, #{erectionCompleted}, #{remark}, 1 update tt_project_single set project_single_name = #{projectSingleName},project_id = #{projectId}, project_single_code = #{projectSingleCode},safe_code = #{safeCode},project_type=#{projectType}, detail_type = #{detailType},project_status= #{projectStatus},construction_status= #{constructionStatus}, voltage_level = #{voltageLevel},construction_nature = #{constructionNature}, major_project=#{majorProject},provincial_company = #{provincialCompany}, construction_management = #{constructionManagement},com_code = #{comCode},address = #{address}, current_current = #{currentCurrent},line_length = #{lineLength}, substation_capacity = #{substationCapacity}, plan_start_time = #{planStartTime}, plan_end_time = #{planEndTime}, start_time = #{start_time},end_time = #{endTime}, tower_num = #{towerNum},engineering_completed = #{engineeringCompleted}, tower_completed = #{towerCmpleted},erection_completed = #{erectionCompleted},remark = #{remark} where project_single_id = #{projectSingleId} update tt_project_single set del_flag = 0 where project_single_id = #{projectSingleId}