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();