我有这个嵌套的if else条件.我想要的检查流程在下面的代码中描述.
if (HiringManagerAPPROVED)
{
//email reporting gropu
}
else if (ReportingGroupAPPROVED)
{
//email Hiringmanager
}
else if (HiringManagerReAPPROVED)
{
//email PPO
} }
else if (PpoAPPROVED)
{
//email Finance
}
else if (FinanceAPPROVED)
{
//email president & COO
}
else if (PresidentCooAPPROVED)
{
//email hr
}
else if (HRAPPROVED)
{
//email Hiring Manager
}
Run Code Online (Sandbox Code Playgroud)
如何减少支票数量,保持支票流量不变.