项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息
This commit is contained in:
@@ -172,7 +172,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
if (string.IsNullOrEmpty(this.HazardId))
|
||||
{
|
||||
hazardList.CompileMan = this.CurrUser.UserName;
|
||||
hazardList.UnitId = string.IsNullOrEmpty(this.CurrUser.UnitId) ? Const.UnitId_TCC : this.CurrUser.UnitId;
|
||||
hazardList.UnitId = string.IsNullOrEmpty(this.CurrUser.UnitId) ? Const.UnitId_XJYJ : this.CurrUser.UnitId;
|
||||
hazardList.CompileDate = DateTime.Now;
|
||||
hazardList.IsPass = true;
|
||||
hazardList.HazardId = SQLHelper.GetNewID(typeof(Model.Technique_HazardList));
|
||||
|
||||
@@ -612,7 +612,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
hazardList.CompileMan = this.CurrUser.UserName;
|
||||
hazardList.CompileDate = DateTime.Now;
|
||||
hazardList.IsPass = true;
|
||||
hazardList.UnitId = string.IsNullOrEmpty(this.CurrUser.UnitId) ? Const.UnitId_TCC : this.CurrUser.UnitId;
|
||||
hazardList.UnitId = string.IsNullOrEmpty(this.CurrUser.UnitId) ? Const.UnitId_XJYJ : this.CurrUser.UnitId;
|
||||
BLL.HazardListService.AddHazardList(hazardList);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, hazardList.HazardCode, hazardList.HazardId, BLL.Const.HazardListMenuId, Const.BtnAdd);
|
||||
}
|
||||
|
||||
@@ -102,7 +102,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
if (string.IsNullOrEmpty(this.RectifyItemId))
|
||||
{
|
||||
rectifyItem.CompileMan = this.CurrUser.UserName;
|
||||
rectifyItem.UnitId = String.IsNullOrEmpty(this.CurrUser.UnitId) ? Const.UnitId_TCC : this.CurrUser.UnitId;
|
||||
rectifyItem.UnitId = String.IsNullOrEmpty(this.CurrUser.UnitId) ? Const.UnitId_XJYJ : this.CurrUser.UnitId;
|
||||
rectifyItem.CompileDate = DateTime.Now;
|
||||
rectifyItem.IsPass = true;
|
||||
rectifyItem.RectifyItemId = SQLHelper.GetNewID(typeof(Model.Technique_RectifyItem));
|
||||
|
||||
Reference in New Issue
Block a user