2023-09-04
This commit is contained in:
@@ -422,6 +422,15 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
jot.JointAttribute = item.JointAttribute;
|
||||
}
|
||||
BLL.WeldJointService.UpdateWeldJoint(jot);
|
||||
// 获取组批条件
|
||||
var batchC = BLL.Project_SysSetService.GetSysSetBySetId("5", CurrUser.LoginProjectId);
|
||||
if (batchC != null)
|
||||
{
|
||||
string batchCondition = batchC.SetValue;
|
||||
BLL.PointBatchService.AddBatchByWeldJointId(item.WeldJointId,null, batchCondition);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -910,6 +919,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
|
||||
if (task != null)
|
||||
{
|
||||
BLL.WeldTaskService.DeleteWeldingTask(task.WeldTaskId);
|
||||
PointBatchService.DeleteBatchByWeldJointId(task.WeldJointId);
|
||||
}
|
||||
}
|
||||
ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||
|
||||
Reference in New Issue
Block a user