集团三库

This commit is contained in:
2026-09-10 18:51:12 +08:00
parent dc6abc4cbb
commit 5be709c0e6
131 changed files with 25364 additions and 970 deletions
@@ -1,8 +1,9 @@
using System;
using NPOI.SS.Formula.Functions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace BLL
{
@@ -47,6 +48,8 @@ namespace BLL
Descriptions = largerHazard.Descriptions,
OperativesNum = largerHazard.OperativesNum,
ApprovalState = largerHazard.ApprovalState,
UnitId = largerHazard.UnitId,
StandbyPersonnelId = largerHazard.StandbyPersonnelId,
};
db.Solution_LargerHazard.InsertOnSubmit(newLargerHazard);
@@ -91,6 +94,8 @@ namespace BLL
newLargerHazard.IsUpdate = null;
newLargerHazard.OperativesNum = largerHazard.OperativesNum;
newLargerHazard.ApprovalState = largerHazard.ApprovalState;
newLargerHazard.UnitId = largerHazard.UnitId;
newLargerHazard.StandbyPersonnelId = largerHazard.StandbyPersonnelId;
db.SubmitChanges();
//判断是否有数据 有数据则更新 没有数据则添加
var majorPlanApproval = BLL.MajorPlanApprovalService.GetMajorPlanApprovalById(largerHazard.HazardId);