This commit is contained in:
2025-12-15 18:36:54 +08:00
parent 3a0c06a638
commit 7fd2f90fce
5 changed files with 31 additions and 29 deletions
@@ -344,12 +344,12 @@ namespace FineUIPro.Web.HJGL.WeldingManage
{
string status = mergedRow.Value<string>("status");
JObject values = mergedRow.Value<JObject>("values");
var weldMat = (from x in Funs.DB.HJGL_BS_WeldMaterial where x.WMT_MatCode == values.Value<string>("JOT_WeldMat") select x).FirstOrDefault();
if (weldMat == null)
{
ShowNotify("焊条牌号不能为空!", MessageBoxIcon.Warning);
return;
}
//var weldMat = (from x in Funs.DB.HJGL_BS_WeldMaterial where x.WMT_MatCode == values.Value<string>("JOT_WeldMat") select x).FirstOrDefault();
//if (weldMat == null)
//{
// ShowNotify("焊条牌号不能为空!", MessageBoxIcon.Warning);
// return;
//}
var weldSilk = (from x in Funs.DB.HJGL_BS_WeldMaterial where x.WMT_MatCode == values.Value<string>("JOT_WeldSilk") select x).FirstOrDefault();
if (weldSilk == null)
{