change - 干混 湿混 糊化 报表均已完成

master
wangsr 1 year ago
parent 45e545a79d
commit 10d988c5d7

@ -202,16 +202,13 @@ namespace Mesnac.Action.ChemicalWeighing.FinishBatch.SaveHelper
{ {
throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError); throw new Exception(Mesnac.Basic.LanguageHelper.DataBaseConnectError);
} }
string sqlStr = @"insert into Report_WetMixer string sqlStr = @"insert into Report_WetMixer (reportId, eqNo) values (@reportId, @eqNo)";
(reportId, eqName)
values
(@reportId, @eqName)";
dbHelper.ClearParameter(); dbHelper.ClearParameter();
dbHelper.CommandType = CommandType.Text; dbHelper.CommandType = CommandType.Text;
dbHelper.CommandText = sqlStr; dbHelper.CommandText = sqlStr;
dbHelper.AddParameter("@eqName", wetMixer.eqNo); dbHelper.AddParameter("@eqNo", wetMixer.eqNo);
dbHelper.AddParameter("@reportId", reportId); dbHelper.AddParameter("@reportId", reportId);
dbHelper.ExecuteNonQuery(); dbHelper.ExecuteNonQuery();

Loading…
Cancel
Save