Commit bca05aa75aada9204bea41a6dd794d62a3efe8be

Authored by liquanyu
1 parent 50c74bf821

高危因素同步到小程序时候判断了自定义的为空的导致高危没有同步到小程序

Showing 1 changed file with 1 additions and 1 deletions

platform-job-index/src/main/java/com/lyms/platform/job/index/restore/data/SyncDataWork.java View file @ bca05aa
... ... @@ -1066,7 +1066,7 @@
1066 1066 } catch (Exception e) {
1067 1067 ERROR_LOGGER.error("convert high risk error." + list2, e);
1068 1068 }
1069   - if (null != antExChuModel && StringUtils.isNotEmpty(antExChuModel.getOtherHighRisk()) && !"{}".equals(antExChuModel.getOtherHighRisk()) && !"[]".equals(antExChuModel.getOtherHighRisk())) {
  1069 + if (null != antExChuModel && !"{}".equals(antExChuModel.getOtherHighRisk()) && !"[]".equals(antExChuModel.getOtherHighRisk())) {
1070 1070 String otherHighRisk = antExChuModel.getOtherHighRisk();
1071 1071 List<Map> otherHighRisks = new ArrayList<>();
1072 1072 if (otherHighRisk.startsWith("[") && otherHighRisk.endsWith("]")) {