1
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user