📜  在线转换我的 if else 方法以切换大小写 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:57.253000             🧑  作者: Mango

代码示例1
if (unfinishedFunctionCollatingHistory.getIsSuccess()) {
    AnalyzingStatusCode.ANALYZED
} else {
    if ((!unfinishedFunctionCollatingHistory.getIsSuccess() && functionCollatingCode.equals(FunctionCollatingCode.TFIDFFRAG))) {
        AnalyzingStatusCode.ERROR_ANALYSIS_DAC
    } else {
        if ((!unfinishedFunctionCollatingHistory.getIsSuccess() && functionCollatingCode.equals(FunctionCollatingCode.TFIDFDOC))) {
            AnalyzingStatusCode.ERROR_ANALYSIS_IMPACT
        } else {
            AnalyzingStatusCode.ERROR_ANALYSIS_APPROVAL_ROUTE;
        }
    }
}