select t.id, t.station_id, s.station_name, t.model, t.brand, t.rated_power, t.module_type, t.module_count, t.conversion_efficiency, t.temperature_coefficient, t.install_date, t.create_by, t.create_time, t.update_by, t.update_time, t.remark from config_station_pv_module t left join config_station s on s.id = t.station_id insert into config_station_pv_module (station_id, model, brand, rated_power, module_type, module_count, conversion_efficiency, temperature_coefficient, install_date, create_by, create_time, update_by, update_time, remark) values (#{stationId}, #{model}, #{brand}, #{ratedPower}, #{moduleType}, #{moduleCount}, #{conversionEfficiency}, #{temperatureCoefficient}, #{installDate}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}) update config_station_pv_module station_id = #{stationId}, model = #{model}, brand = #{brand}, rated_power = #{ratedPower}, module_type = #{moduleType}, module_count = #{moduleCount}, conversion_efficiency = #{conversionEfficiency}, temperature_coefficient = #{temperatureCoefficient}, install_date = #{installDate}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, where id = #{id} delete from config_station_pv_module where id = #{id} delete from config_station_pv_module where id in #{id}