|
|
@ -245,6 +245,7 @@ public class DcWarningController extends BaseController |
|
|
|
|
|
|
|
List<DcNoStakeWarningTable> updatedList = list.stream() |
|
|
|
.peek(warningTable -> { |
|
|
|
if ("2".equals(warningTable.getWarningType())) { |
|
|
|
JSONObject otherConfig = JSONObject.parseObject(warningTable.getOtherConfig()); |
|
|
|
String earlyWorningSignal = otherConfig.getString("earlyWorningSignal"); |
|
|
|
String[] split = earlyWorningSignal.split(UniversalEnum.YJ_STRING.getValue()); |
|
|
@ -252,7 +253,8 @@ public class DcWarningController extends BaseController |
|
|
|
Integer.parseInt(split[UniversalEnum.ONE.getNumber()]), |
|
|
|
split[UniversalEnum.ZERO.getNumber()] |
|
|
|
); |
|
|
|
warningTable.setWarningDescription(warningTable.getWarningDescription() + "\n" +content); |
|
|
|
warningTable.setWarningDescription(warningTable.getWarningDescription() + "\n" + content); |
|
|
|
} |
|
|
|
}) |
|
|
|
.collect(Collectors.toList()); |
|
|
|
|
|
|
|