This commit is contained in:
2023-09-07 08:51:33 +08:00
5 changed files with 18 additions and 18 deletions
Binary file not shown.
@@ -365,7 +365,7 @@ GO
GO GO
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('27AA3C4C-D424-4CBA-ABBE-EDA953A196A4','返修检测单录入','HJGL/NDT/NDTBatch.aspx?Type=R',30,'E7533566-73A9-4507-8FCB-1FE713819A24','Menu_HJGL',0,1,1) VALUES('27AA3C4C-D424-4CBA-ABBE-EDA953A196A4','返修检测单录入','HJGL/NDT/NDTBatch.arspx?Type=R',30,'E7533566-73A9-4507-8FCB-1FE713819A24','Menu_HJGL',0,1,1)
GO GO
/*检测单录入*/ /*检测单录入*/
INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES('A4284CC7-4F99-4188-8CAB-A2CF578A0F2A','27AA3C4C-D424-4CBA-ABBE-EDA953A196A4','增加',1) INSERT INTO Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) VALUES('A4284CC7-4F99-4188-8CAB-A2CF578A0F2A','27AA3C4C-D424-4CBA-ABBE-EDA953A196A4','增加',1)
File diff suppressed because one or more lines are too long
@@ -526,7 +526,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
{ {
var t = BLL.WeldTaskService.GetWeldTaskById(row); var t = BLL.WeldTaskService.GetWeldTaskById(row);
errlog += InsertWeldingDailyItem(t.WeldJointId, t.CoverWelderId, t.BackingWelderId, t.JointAttribute, newWeldingDaily.WeldingDate, batchCondition, false); errlog += InsertWeldingDailyItem(t.WeldJointId, t.CoverWelderId, t.BackingWelderId, t.JointAttribute, newWeldingDaily.WeldingDate, batchCondition, true);
} }
} }
else else
@@ -536,7 +536,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
if (Grid1.SelectedRowIDArray.Contains(Grid1.Rows[i].RowID)) if (Grid1.SelectedRowIDArray.Contains(Grid1.Rows[i].RowID))
{ {
var t = BLL.WeldTaskService.GetWeldTaskById(Grid1.Rows[i].RowID); var t = BLL.WeldTaskService.GetWeldTaskById(Grid1.Rows[i].RowID);
errlog += InsertWeldingDailyItem(t.WeldJointId, t.CoverWelderId, t.BackingWelderId, t.JointAttribute, newWeldingDaily.WeldingDate, batchCondition, false); errlog += InsertWeldingDailyItem(t.WeldJointId, t.CoverWelderId, t.BackingWelderId, t.JointAttribute, newWeldingDaily.WeldingDate, batchCondition, true);
} }
else else
{ {
@@ -1062,7 +1062,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
var pointBatchItems = from x in Funs.DB.HJGL_Batch_PointBatchItem where x.WeldJointId == weldJointId select x; var pointBatchItems = from x in Funs.DB.HJGL_Batch_PointBatchItem where x.WeldJointId == weldJointId select x;
string pointBatchId = pointBatchItems.FirstOrDefault().PointBatchId; string pointBatchId = pointBatchItems.FirstOrDefault().PointBatchId;
/*// 删除焊口所在批明细信息 // 删除焊口所在批明细信息
BLL.PointBatchDetailService.DeleteBatchDetail(weldJointId); BLL.PointBatchDetailService.DeleteBatchDetail(weldJointId);
// 删除批信息 // 删除批信息
@@ -1070,7 +1070,7 @@ namespace FineUIPro.Web.WeldingProcess.WeldingManage
if (pointBatchId != null && batch.Count() == 0) if (pointBatchId != null && batch.Count() == 0)
{ {
BLL.PointBatchService.DeleteBatch(pointBatchId); BLL.PointBatchService.DeleteBatch(pointBatchId);
}*/ }
} }
} }
else else
@@ -427,7 +427,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
if (batchC != null) if (batchC != null)
{ {
string batchCondition = batchC.SetValue; string batchCondition = batchC.SetValue;
BLL.PointBatchService.AddBatchByWeldJointId(item.WeldJointId,null, batchCondition); //BLL.PointBatchService.AddBatchByWeldJointId(item.WeldJointId,null, batchCondition);
} }
@@ -919,7 +919,7 @@ namespace FineUIPro.Web.HJGL.WeldingManage
if (task != null) if (task != null)
{ {
BLL.WeldTaskService.DeleteWeldingTask(task.WeldTaskId); BLL.WeldTaskService.DeleteWeldingTask(task.WeldTaskId);
PointBatchService.DeleteBatchByWeldJointId(task.WeldJointId); //PointBatchService.DeleteBatchByWeldJointId(task.WeldJointId);
} }
} }
ShowNotify("删除成功!", MessageBoxIcon.Success); ShowNotify("删除成功!", MessageBoxIcon.Success);