修改质量计划

This commit is contained in:
2023-03-15 16:56:14 +08:00
parent 0b1b5f4731
commit f2a3954a44
7 changed files with 29 additions and 8 deletions
@@ -115,6 +115,16 @@ namespace BLL
{
return db.Plan_MainPlanApprove.OrderByDescending(x => x.ApproveDate).FirstOrDefault(x => x.MainPlanId == MainPlanId && x.ApproveType == state);
}
public static string GetHandleManName(string MainPlanId)
{
string name = string.Empty;
var a= Funs.DB.Plan_MainPlanApprove.FirstOrDefault(x => x.MainPlanId == MainPlanId && x.ApproveDate == null);
if (a != null)
{
name = BLL.Person_PersonsService.GetPersonsNameById(a.ApproveMan);
}
return name;
}
/// <summary>
/// 修改总包施工计划审批信息
/// </summary>