代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -183,15 +183,15 @@ namespace FineUIPro.Web.HSSE.InformationProject
|
||||
else
|
||||
{
|
||||
Model.InformationProject_WorkSummaryReport oldReport = (from x in Funs.DB.InformationProject_WorkSummaryReport
|
||||
where x.ProjectId == report.ProjectId && x.YearId == report.YearId
|
||||
select x).FirstOrDefault();
|
||||
where x.ProjectId == report.ProjectId && x.YearId == report.YearId
|
||||
select x).FirstOrDefault();
|
||||
if (oldReport == null)
|
||||
{
|
||||
this.WorkSummaryReportId = SQLHelper.GetNewID(typeof(Model.InformationProject_WorkSummaryReport));
|
||||
report.WorkSummaryReportId = this.WorkSummaryReportId;
|
||||
BLL.ProjectWorkSummaryReportService.AddWorkSummaryReport(report);
|
||||
BLL.LogService.AddSys_Log(this.CurrUser, report.YearId.ToString(), report.WorkSummaryReportId, BLL.Const.ProjectWorkSummaryReportMenuId, BLL.Const.BtnAdd);
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user