diff --git a/src/main/java/club/joylink/xiannccda/dto/alertTip/AlertTipSaveDTO.java b/src/main/java/club/joylink/xiannccda/dto/alertTip/AlertTipSaveDTO.java index 8602925..63dc02a 100644 --- a/src/main/java/club/joylink/xiannccda/dto/alertTip/AlertTipSaveDTO.java +++ b/src/main/java/club/joylink/xiannccda/dto/alertTip/AlertTipSaveDTO.java @@ -16,5 +16,13 @@ public class AlertTipSaveDTO { private AlertTipLocationType locationType; - private String infoJson; + /** + * 行车方面提示信息 + */ + private String drivingInfo; + + /** + * 信息报送方面提示信息 + */ + private String submissionInfo; } diff --git a/src/main/java/club/joylink/xiannccda/entity/AlertTip.java b/src/main/java/club/joylink/xiannccda/entity/AlertTip.java index 20ce20c..a38d1da 100644 --- a/src/main/java/club/joylink/xiannccda/entity/AlertTip.java +++ b/src/main/java/club/joylink/xiannccda/entity/AlertTip.java @@ -14,7 +14,7 @@ import lombok.experimental.Accessors; *
* * @author walker-sheng - * @since 2023-06-28 + * @since 2023-07-17 */ @Getter @Setter @@ -35,8 +35,11 @@ public class AlertTip { @Schema(description = "地点定义类型") private String locationType; - @Schema(description = "提示信息的json") - private String infoJson; + @Schema(description = "行车方面提示信息") + private String drivingInfo; + + @Schema(description = "信息报送方面提示信息") + private String submissionInfo; public static final String ID = "id"; @@ -46,5 +49,7 @@ public class AlertTip { public static final String LOCATION_TYPE = "location_type"; - public static final String INFO_JSON = "info_json"; + public static final String DRIVING_INFO = "driving_info"; + + public static final String SUBMISSION_INFO = "submission_info"; } diff --git a/src/main/java/club/joylink/xiannccda/mapper/AlertTipMapper.java b/src/main/java/club/joylink/xiannccda/mapper/AlertTipMapper.java index 2c8e93a..e6ec013 100644 --- a/src/main/java/club/joylink/xiannccda/mapper/AlertTipMapper.java +++ b/src/main/java/club/joylink/xiannccda/mapper/AlertTipMapper.java @@ -10,7 +10,7 @@ import org.apache.ibatis.annotations.Mapper; * * * @author walker-sheng - * @since 2023-06-28 + * @since 2023-07-17 */ @Mapper public interface AlertTipMapper extends BaseMapper