[测评系统]--测评系统核心代码库
zhijie
2023-12-11 b7988d5538046c78492d52ee2c1300169b0bbcad
src/main/java/com/ots/project/tool/exam/ExamUtil.java
@@ -1,4 +1,5 @@
package com.ots.project.tool.exam;
import com.ots.common.enums.ReportTypeEnum;
import com.ots.common.utils.StringUtils;
import java.util.Arrays;
import java.util.Date;
@@ -23,7 +24,7 @@
        productTypeMap.put("RuiLin","RuiLin");
        productTypeMap.put("MAQ", "MAQ");
        productTypeMap.put("MAQV2", "MAQV2");
        productTypeMap.put("MAQ-IAR", "MAQ-IAR");
        productTypeMap.put("MAQIAR", "MAQIAR");
        productTypeMap.put("SAQ", "SAQ");
        productTypeMap.put("JAQ", "JAQ");
    }
@@ -394,4 +395,15 @@
        }
        return "";
    }
    /**
     * 是不是LAQ
     * @return
     */
    public static boolean isLAQ(String testName){
        if(StringUtils.isEmpty(testName)){
            return false;
        }
        return testName.contains(ReportTypeEnum.LAQ.getCode());
    }
}