【步骤ID类型修改】
This commit is contained in:
parent
e9eed02897
commit
e8b2b0117e
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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, "仿真不存在");
|
||||
|
Loading…
Reference in New Issue
Block a user