| | |
| | | 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; |
| | |
| | | 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"); |
| | | } |
| | |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | /** |
| | | * 是不是LAQ |
| | | * @return |
| | | */ |
| | | public static boolean isLAQ(String testName){ |
| | | if(StringUtils.isEmpty(testName)){ |
| | | return false; |
| | | } |
| | | return testName.contains(ReportTypeEnum.LAQ.getCode()); |
| | | } |
| | | } |