Station 实训相关注解

This commit is contained in:
xzb 2022-08-29 16:52:17 +08:00
parent 8aaf7c6d34
commit 75f7d95285
2 changed files with 5 additions and 5 deletions

View File

@ -64,16 +64,16 @@ public class TrainingDraftV2Controller {
* <p> * <p>
* 背景内容由后端自己生成 * 背景内容由后端自己生成
*/ */
@PostMapping("/update/content/backgroud") @PostMapping("/update/content/background")
public void updateTrainingBackgroud(@RequestBody UpdateTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) { public void updateTrainingBackground(@RequestBody UpdateTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) {
this.training2DraftService.updateTrainingBackgroud(req, user.getId()); this.training2DraftService.updateTrainingBackgroud(req, user.getId());
} }
/** /**
* 单独重置当前用户的某个实训草稿的初始背景 * 单独重置当前用户的某个实训草稿的初始背景
*/ */
@PostMapping("/reset/content/backgroud") @PostMapping("/reset/content/background")
public void resetTrainingBackgroud(@RequestBody ResetTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) { public void resetTrainingBackground(@RequestBody ResetTraining2BackgroudReqVo req, @RequestAttribute AccountVO user) {
this.training2DraftService.resetTrainingBackgroud(req, user.getId()); this.training2DraftService.resetTrainingBackgroud(req, user.getId());
} }

View File

@ -197,7 +197,7 @@ public class Station extends MayOutOfOrderDevice {
@ExpConditionMaterialAnno(name = "sGuideMasterLock", type = "boolean", desc = "S引导总锁") @ExpConditionMaterialAnno(name = "sGuideMasterLock", type = "boolean", desc = "S引导总锁")
private boolean sGuideMasterLock; private boolean sGuideMasterLock;
@ExpConditionMaterialAnno(name = "sGuideMasterLock", type = "boolean", desc = "X引导总锁") @ExpConditionMaterialAnno(name = "xGuideMasterLock", type = "boolean", desc = "X引导总锁")
private boolean xGuideMasterLock; private boolean xGuideMasterLock;
/** /**