wanghb 1 year ago
commit 481e1a2da3

@ -164,7 +164,7 @@ public class InquiryIssuanceController {
} }
@AnonymousAccess @AnonymousAccess
@GetMapping("/insertQuotation") @PostMapping("/insertQuotation")
@ApiOperation("投资者参与询价--添加报价") @ApiOperation("投资者参与询价--添加报价")
public ResultEntity insertQuotation(@RequestBody JSONObject jsonObject){ public ResultEntity insertQuotation(@RequestBody JSONObject jsonObject){
InquiryParticipation inquiryParticipation = jsonObject.getObject("InquiryParticipation", InquiryParticipation.class); InquiryParticipation inquiryParticipation = jsonObject.getObject("InquiryParticipation", InquiryParticipation.class);

@ -31,8 +31,6 @@ import java.util.List;
@RequestMapping("/stu/topics") @RequestMapping("/stu/topics")
@Api(tags = "学生端--答题视频相关接口") @Api(tags = "学生端--答题视频相关接口")
public class TopicController { public class TopicController {
@Autowired
private TopicsMapper topicsMapper;
@Autowired @Autowired
private TopicService topicService; private TopicService topicService;
@Autowired @Autowired

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

Loading…
Cancel
Save