|
|
@ -85,7 +85,7 @@ public class CodeScanningAlarmController extends BaseController { |
|
|
|
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(UniversalEnum.CHINESE_CHARACTER_TIME_FORMAT.getValue()); |
|
|
|
|
|
|
|
String warningTitle = "G35济菏高速" + dcWarning.getStakeMark() + (Objects.equals(roadCode, UniversalEnum.ONE.getValue()) ? UniversalEnum.DIRECTION_OF_JINAN.getValue() : UniversalEnum.DIRECTION_OF_HEZE.getValue()) + "发生" + (Integer.parseInt(accidentType) >= 4 ? UniversalEnum.TRAFFIC_ACCIDENT_EVENT.getValue() : UniversalEnum.VEHICLE_BREAKDOWN_EVENT.getValue()); |
|
|
|
String warningTitle = dcWarning.getStakeMark() + UniversalEnum.BLANK_SPACE.getValue() + (Objects.equals(roadCode, UniversalEnum.ONE.getValue()) ? UniversalEnum.DIRECTION_OF_JINAN.getValue() : UniversalEnum.DIRECTION_OF_HEZE.getValue()) + UniversalEnum.BLANK_SPACE.getValue() + "发生" + (Integer.parseInt(accidentType) >= 4 ? UniversalEnum.TRAFFIC_ACCIDENT_EVENT.getValue() : UniversalEnum.VEHICLE_BREAKDOWN_EVENT.getValue()); |
|
|
|
dcWarning.setWarningTitle(warningTitle); |
|
|
|
dcWarning.setRemark(simpleDateFormat.format(dcWarning.getWarningTime()) + warningTitle); |
|
|
|
dcWarning.setWarningSource(UniversalEnum.FIVE.getNumber()); |
|
|
|