diff --git a/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java b/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java index e7589944d..bf517863c 100644 --- a/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java +++ b/src/main/java/club/joylink/rtss/controller/training2/TrainingDraftV2Controller.java @@ -64,16 +64,16 @@ public class TrainingDraftV2Controller { *

* 背景内容由后端自己生成 */ - @PostMapping("/update/content/backgroud") - public void updateTrainingBackgroud(@RequestBody UpdateTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) { + @PostMapping("/update/content/background") + public void updateTrainingBackground(@RequestBody UpdateTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) { this.training2DraftService.updateTrainingBackgroud(req, user.getId()); } /** * 单独重置当前用户的某个实训草稿的初始背景 */ - @PostMapping("/reset/content/backgroud") - public void resetTrainingBackgroud(@RequestBody ResetTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) { + @PostMapping("/reset/content/background") + public void resetTrainingBackground(@RequestBody ResetTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) { this.training2DraftService.resetTrainingBackgroud(req, user.getId()); } diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Station.java b/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Station.java index cc0737054..a0e0b06c4 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Station.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/data/map/Station.java @@ -197,7 +197,7 @@ public class Station extends MayOutOfOrderDevice { @ExpConditionMaterialAnno(name = "sGuideMasterLock", type = "boolean", desc = "S引导总锁") private boolean sGuideMasterLock; - @ExpConditionMaterialAnno(name = "sGuideMasterLock", type = "boolean", desc = "X引导总锁") + @ExpConditionMaterialAnno(name = "xGuideMasterLock", type = "boolean", desc = "X引导总锁") private boolean xGuideMasterLock; /**