From 10d988c5d71d108b1eba933cd8b9748e5e0d74c1 Mon Sep 17 00:00:00 2001 From: wangsr Date: Fri, 11 Aug 2023 15:55:34 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=B9=B2=E6=B7=B7=20=E6=B9=BF?= =?UTF-8?q?=E6=B7=B7=20=E7=B3=8A=E5=8C=96=20=E6=8A=A5=E8=A1=A8=E5=9D=87?= =?UTF-8?q?=E5=B7=B2=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FinishBatch/SaveHelper/ReportWetMixerSaveHelper.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportWetMixerSaveHelper.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportWetMixerSaveHelper.cs index 796e8f5..6253532 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportWetMixerSaveHelper.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/FinishBatch/SaveHelper/ReportWetMixerSaveHelper.cs @@ -202,16 +202,13 @@ namespace Mesnac.Action.ChemicalWeighing.FinishBatch.SaveHelper { throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); } - string sqlStr = @"insert into Report_WetMixer - (reportId, eqName) - values - (@reportId, @eqName)"; + string sqlStr = @"insert into Report_WetMixer (reportId, eqNo) values (@reportId, @eqNo)"; dbHelper.ClearParameter(); dbHelper.CommandType = CommandType.Text; dbHelper.CommandText = sqlStr; - dbHelper.AddParameter("@eqName", wetMixer.eqNo); + dbHelper.AddParameter("@eqNo", wetMixer.eqNo); dbHelper.AddParameter("@reportId", reportId); dbHelper.ExecuteNonQuery();