|
|
|
|
@ -205,7 +205,7 @@ public class ApmConfigServiceImpl extends BaseServiceImpl<ApmConfigMapper, ApmCo |
|
|
|
|
if (Func.isNotEmpty(alreadyConfList)) { |
|
|
|
|
for (ApmConfig config : alreadyConfList) { |
|
|
|
|
String key = config.getProject() + config.getApmDay() + config.getProject() + config.getTimeFrame(); |
|
|
|
|
if (alreadyConfMap.containsKey(key)){ |
|
|
|
|
if (alreadyConfMap.containsKey(key)) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
alreadyConfMap.put(key, config); |
|
|
|
|
@ -238,10 +238,6 @@ public class ApmConfigServiceImpl extends BaseServiceImpl<ApmConfigMapper, ApmCo |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public void saveApmConfig(Long createDept, List<String> dayList, List<ApmConfigListVO> configListVOS) { |
|
|
|
|
String checkMsg = saveCheck(createDept, dayList, configListVOS); |
|
|
|
|
if (Func.isNotBlank(checkMsg)) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
List<ApmConfig> configList = new ArrayList<>(); |
|
|
|
|
List<String> daySearchList = new ArrayList<>(); |
|
|
|
|
List<String> projectList = new ArrayList<>(); |
|
|
|
|
@ -274,11 +270,7 @@ public class ApmConfigServiceImpl extends BaseServiceImpl<ApmConfigMapper, ApmCo |
|
|
|
|
String apmDayStr = "('" + String.join("', '", apmDayList) + "')"; |
|
|
|
|
String projectStr = "('" + String.join("', '", projectList) + "')"; |
|
|
|
|
|
|
|
|
|
System.out.println("=========================================="); |
|
|
|
|
System.out.println(apmDayStr); |
|
|
|
|
System.out.println(projectStr); |
|
|
|
|
System.out.println("=========================================="); |
|
|
|
|
baseMapper.deleteConfig(createDept, apmDayStr, projectStr); |
|
|
|
|
baseMapper.deleteConfigA(createDept, apmDayStr, projectStr); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|