From cadde1af0133c43f04fa474eaeebe2da10fc4b47 Mon Sep 17 00:00:00 2001 From: b110212000 Date: Tue, 29 Jun 2021 13:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E7=95=B0=E5=B8=B8=E4=B8=8A=E5=82=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SolarPower/Repository/Implement/PowerStationRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SolarPower/Repository/Implement/PowerStationRepository.cs b/SolarPower/Repository/Implement/PowerStationRepository.cs index cb6f3f1..370df5e 100644 --- a/SolarPower/Repository/Implement/PowerStationRepository.cs +++ b/SolarPower/Repository/Implement/PowerStationRepository.cs @@ -773,7 +773,7 @@ namespace SolarPower.Repository.Implement conn.Open(); try { - string sql = GenerateUpdateQueryWithCustomDBNameAndTable(properties,db_name,"power_station_exception"); + string sql = GenerateInsertQueryWithCustomDBNameAndTable(properties,db_name,"power_station_exception"); await conn.ExecuteAsync(sql, Exception);