|
|
|
@ -106,7 +106,7 @@ public class UserController {
|
|
|
|
|
String newUUID = IdUtil.simpleUUID();
|
|
|
|
|
if (user != null) {
|
|
|
|
|
Flow flow = flowMapper.selectByPrimaryKey(user.getUserid());
|
|
|
|
|
Map<String, Object> map = getStringObjectMap(access_token, un, dis, newUUID, flow.getFlowId());
|
|
|
|
|
Map<String, Object> map = getStringObjectMap(access_token, un, dis, flow.getUserid(), flow.getFlowId());
|
|
|
|
|
user.setAccessToken(access_token);
|
|
|
|
|
userMapper.updateByPrimaryKey(user);
|
|
|
|
|
return new ResultEntity(HttpStatus.OK, map);
|
|
|
|
@ -183,10 +183,11 @@ public class UserController {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
performanceScoreMapper.deleteByExample(example);
|
|
|
|
|
flow.setFlowId(IdUtil.simpleUUID());
|
|
|
|
|
String id = IdUtil.simpleUUID();
|
|
|
|
|
flow.setFlowId(id);
|
|
|
|
|
flowMapper.updateByPrimaryKey(flow);
|
|
|
|
|
|
|
|
|
|
return new ResultEntity(HttpStatus.OK, "已重新实训!");
|
|
|
|
|
return new ResultEntity(HttpStatus.OK, "已重新实训!",id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|