【步骤ID类型修改】

This commit is contained in:
weizhihong 2022-11-18 15:49:11 +08:00
parent e9eed02897
commit e8b2b0117e
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ public class SimulationTrainingV2Controller {
* 客户端步骤完成后操作回调
*/
@PutMapping("/{group}/completion/step/{stepId}")
public Integer completionClientStep(@PathVariable String group, @PathVariable Integer stepId, @RequestAttribute AccountVO user) {
public Integer completionClientStep(@PathVariable String group, @PathVariable Long stepId, @RequestAttribute AccountVO user) {
return training2Service.completionClientStep(group, stepId, user);
}

View File

@ -261,7 +261,7 @@ public class Training2Service {
/**
* 客户端完成步骤后回调(针对步骤中全部是客户端操作的)
*/
public Integer completionClientStep(String group, Integer stepId, AccountVO user) {
public Integer completionClientStep(String group, Long stepId, AccountVO user) {
Simulation simulation = groupSimulationCache.getSimulationByGroup(group);
if (simulation == null) {
throw new SimulationException(SimulationExceptionType.Invalid_Operation, "仿真不存在");