| | |
| | | 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; |
| | |
| | | barPictureMap.put("Combined_waterDrops", "CAQBar1.png"); |
| | | barPictureMap.put("P_Abstract_context_waterDrops", "CAQBar1.png"); |
| | | barPictureMap.put("P_Numeric_context_waterDrops", "CAQBar1.png"); |
| | | |
| | | //APIFan的图片 |
| | | barPictureMap.put("box0","apifanSelected.png"); |
| | | barPictureMap.put("box1","apifanDefault.png"); |
| | | |
| | | waterDropPictureMap.put("Combined_waterDrops", "waterDropOrange.png"); |
| | | waterDropPictureMap.put("P_Abstract_context_waterDrops", "waterDropOrange.png"); |
| | | waterDropPictureMap.put("P_Numeric_context_waterDrops", "waterDropOrange.png"); |
| | | |
| | | |
| | | } |
| | | public static String scoreToVM(Integer score) { |
| | | if (score % 10 == 0) { |
| | |
| | | } |
| | | return ""; |
| | | } |
| | | |
| | | /** |
| | | * 是不是LAQ |
| | | * @return |
| | | */ |
| | | public static boolean isLAQ(String testName){ |
| | | if(StringUtils.isEmpty(testName)){ |
| | | return false; |
| | | } |
| | | return testName.contains(ReportTypeEnum.LAQ.getCode()); |
| | | } |
| | | } |