feat(positionmap): 增加点位顺序字段

- 在 PositionMapLineDO、PositionMapLineRespVO 和 PositionMapLineSaveReqVO 中添加出发点序号和结束点序号字段
- 这些字段用于记录点位顺序,以便在前端展示时按照正确的顺序连接线段
This commit is contained in:
aikai 2025-04-07 15:55:36 +08:00
parent 54b5a66ed3
commit 3e2a823ee0
3 changed files with 17 additions and 0 deletions

View File

@ -28,6 +28,10 @@ public class PositionMapLineRespVO {
@Schema(description = "结束点id(点位子表id)", example = "15890")
@ExcelProperty("结束点id(点位子表id)")
private Long endPointId;
@Schema(description = "出发点序号", example = "20863")
private Integer startingSortNum;
@Schema(description = "结束点序号", example = "20863")
private Integer endPointSortNum;
@Schema(description = "开始点位x轴", example = "15890")
private String startPointX;

View File

@ -25,6 +25,11 @@ public class PositionMapLineSaveReqVO {
@Schema(description = "结束点id(点位子表id)", example = "15890")
private Long endPointId;
@Schema(description = "出发点序号", example = "20863")
private Integer startingSortNum;
@Schema(description = "结束点序号", example = "20863")
private Integer endPointSortNum;
@Schema(description = "开始点位x轴", example = "15890")
private String startPointX;
@Schema(description = "开始点位y轴", example = "15890")

View File

@ -42,6 +42,14 @@ public class PositionMapLineDO extends BaseDO {
* 结束点id(点位子表id)
*/
private Long endPointId;
/**
* 出发点序号
*/
private Integer startingSortNum;
/**
* 结束点序号
*/
private Integer endPointSortNum;
/**
* 开始点位x轴
*/