增加公司级五张报表功能

This commit is contained in:
2023-02-02 15:13:20 +08:00
parent ccc4bc8a28
commit 2b93bbd98d
100 changed files with 47158 additions and 5 deletions
@@ -1,5 +1,6 @@
namespace BLL
{
using System;
using System.Collections;
using System.Linq;
@@ -304,5 +305,20 @@
where x.MenuId == menuId && x.DataId == dataId && (x.IsClosed == false || !x.IsClosed.HasValue)
select x).FirstOrDefault();
}
/// <summary>
///
/// </summary>
public static void CloseFlowOperate(string menuId, string dataId, string opinion)
{
var updateUnFlowOperate = db.ProjectData_FlowOperate.FirstOrDefault(x => x.MenuId == menuId && x.DataId == dataId && (x.IsClosed == false || !x.IsClosed.HasValue));
if (updateUnFlowOperate != null)
{
updateUnFlowOperate.OperaterTime = DateTime.Now;
updateUnFlowOperate.IsClosed = true;
updateUnFlowOperate.Opinion = opinion;
BLL.ProjectDataFlowSetService.UpdateFlowOperateOpinion(updateUnFlowOperate);
}
}
}
}