select pv_station_no, rating_power, confirm_power, inverter_cnt, junction_box_cnt, pv_cell_cnt, longtitude, latitude, elevation, poa_slope_angle, poa_azimuth_angle, reflection_ratio, temp_coeff, ap_yc_no, ghi_yc_no, dni_yc_no, dfi_yc_no, poai_yc_no, temperature_yc_no, panel_temp_yc_no, humidity_yc_no, pressure_yc_no, wspeed_yc_no, wdir_yc_no, positive_error, negative_error, nwp_lf_a, pcurve_sample_cnt, pcurve_lf_a, pcurve_input_flag, pcurve_hl_cnt, usp_sample_cnt, corr_sample_cnt, gamma, cost, nu, space_dim, usp_correction_flag, total_power, pcc_power, ghi, dni, dfi, poai, temperature, panel_temperature, humidity, pressure, wind_speed, wind_dir, inverter_run_cnt, inerter_stop_cnt, invert_fault_cnt, total_energy, last_total_energy, today_energy, rtu_no, name, ref, pcurve_stat_time, nwp_calc_time, da_prediction_time, da_day_stat_time, da_month_stat_time, usp_prediction_time, usp_day_stat_time, usp_month_stat_time, company_no, site from pv_power_station insert into pv_power_station pv_station_no, rating_power, confirm_power, inverter_cnt, junction_box_cnt, pv_cell_cnt, longtitude, latitude, elevation, poa_slope_angle, poa_azimuth_angle, reflection_ratio, temp_coeff, ap_yc_no, ghi_yc_no, dni_yc_no, dfi_yc_no, poai_yc_no, temperature_yc_no, panel_temp_yc_no, humidity_yc_no, pressure_yc_no, wspeed_yc_no, wdir_yc_no, positive_error, negative_error, nwp_lf_a, pcurve_sample_cnt, pcurve_lf_a, pcurve_input_flag, pcurve_hl_cnt, usp_sample_cnt, corr_sample_cnt, gamma, cost, nu, space_dim, usp_correction_flag, total_power, pcc_power, ghi, dni, dfi, poai, temperature, panel_temperature, humidity, pressure, wind_speed, wind_dir, inverter_run_cnt, inerter_stop_cnt, invert_fault_cnt, total_energy, last_total_energy, today_energy, rtu_no, name, ref, pcurve_stat_time, nwp_calc_time, da_prediction_time, da_day_stat_time, da_month_stat_time, usp_prediction_time, usp_day_stat_time, usp_month_stat_time, company_no, site, #{pvStationNo}, #{ratingPower}, #{confirmPower}, #{inverterCnt}, #{junctionBoxCnt}, #{pvCellCnt}, #{longtitude}, #{latitude}, #{elevation}, #{poaSlopeAngle}, #{poaAzimuthAngle}, #{reflectionRatio}, #{tempCoeff}, #{apYcNo}, #{ghiYcNo}, #{dniYcNo}, #{dfiYcNo}, #{poaiYcNo}, #{temperatureYcNo}, #{panelTempYcNo}, #{humidityYcNo}, #{pressureYcNo}, #{wspeedYcNo}, #{wdirYcNo}, #{positiveError}, #{negativeError}, #{nwpLfA}, #{pcurveSampleCnt}, #{pcurveLfA}, #{pcurveInputFlag}, #{pcurveHlCnt}, #{uspSampleCnt}, #{corrSampleCnt}, #{gamma}, #{cost}, #{nu}, #{spaceDim}, #{uspCorrectionFlag}, #{totalPower}, #{pccPower}, #{ghi}, #{dni}, #{dfi}, #{poai}, #{temperature}, #{panelTemperature}, #{humidity}, #{pressure}, #{windSpeed}, #{windDir}, #{inverterRunCnt}, #{inerterStopCnt}, #{invertFaultCnt}, #{totalEnergy}, #{lastTotalEnergy}, #{todayEnergy}, #{rtuNo}, #{name}, #{ref}, #{pcurveStatTime}, #{nwpCalcTime}, #{daPredictionTime}, #{daDayStatTime}, #{daMonthStatTime}, #{uspPredictionTime}, #{uspDayStatTime}, #{uspMonthStatTime}, #{companyNo}, #{site}, update pv_power_station rating_power = #{ratingPower}, confirm_power = #{confirmPower}, inverter_cnt = #{inverterCnt}, junction_box_cnt = #{junctionBoxCnt}, pv_cell_cnt = #{pvCellCnt}, longtitude = #{longtitude}, latitude = #{latitude}, elevation = #{elevation}, poa_slope_angle = #{poaSlopeAngle}, poa_azimuth_angle = #{poaAzimuthAngle}, reflection_ratio = #{reflectionRatio}, temp_coeff = #{tempCoeff}, ap_yc_no = #{apYcNo}, ghi_yc_no = #{ghiYcNo}, dni_yc_no = #{dniYcNo}, dfi_yc_no = #{dfiYcNo}, poai_yc_no = #{poaiYcNo}, temperature_yc_no = #{temperatureYcNo}, panel_temp_yc_no = #{panelTempYcNo}, humidity_yc_no = #{humidityYcNo}, pressure_yc_no = #{pressureYcNo}, wspeed_yc_no = #{wspeedYcNo}, wdir_yc_no = #{wdirYcNo}, positive_error = #{positiveError}, negative_error = #{negativeError}, nwp_lf_a = #{nwpLfA}, pcurve_sample_cnt = #{pcurveSampleCnt}, pcurve_lf_a = #{pcurveLfA}, pcurve_input_flag = #{pcurveInputFlag}, pcurve_hl_cnt = #{pcurveHlCnt}, usp_sample_cnt = #{uspSampleCnt}, corr_sample_cnt = #{corrSampleCnt}, gamma = #{gamma}, cost = #{cost}, nu = #{nu}, space_dim = #{spaceDim}, usp_correction_flag = #{uspCorrectionFlag}, total_power = #{totalPower}, pcc_power = #{pccPower}, ghi = #{ghi}, dni = #{dni}, dfi = #{dfi}, poai = #{poai}, temperature = #{temperature}, panel_temperature = #{panelTemperature}, humidity = #{humidity}, pressure = #{pressure}, wind_speed = #{windSpeed}, wind_dir = #{windDir}, inverter_run_cnt = #{inverterRunCnt}, inerter_stop_cnt = #{inerterStopCnt}, invert_fault_cnt = #{invertFaultCnt}, total_energy = #{totalEnergy}, last_total_energy = #{lastTotalEnergy}, today_energy = #{todayEnergy}, rtu_no = #{rtuNo}, name = #{name}, ref = #{ref}, pcurve_stat_time = #{pcurveStatTime}, nwp_calc_time = #{nwpCalcTime}, da_prediction_time = #{daPredictionTime}, da_day_stat_time = #{daDayStatTime}, da_month_stat_time = #{daMonthStatTime}, usp_prediction_time = #{uspPredictionTime}, usp_day_stat_time = #{uspDayStatTime}, usp_month_stat_time = #{uspMonthStatTime}, company_no = #{companyNo}, site = #{site}, where pv_station_no = #{pvStationNo} delete from pv_power_station where pv_station_no = #{pvStationNo} delete from pv_power_station where pv_station_no in #{pvStationNo}