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