单操考试调整
This commit is contained in:
parent
1a1d67bc5c
commit
661d09ea3f
@ -68,9 +68,10 @@ public class PaperUserCreateService {
|
||||
pu.setStatus(false);
|
||||
example.createCriteria().andIdIn(idList);
|
||||
this.paperUserDAO.updateByExampleSelective(pu,example);*/
|
||||
PaperUserExample paperUserExample = new PaperUserExample();
|
||||
/*PaperUserExample paperUserExample = new PaperUserExample();
|
||||
paperUserExample.createCriteria().andIdIn(idList);
|
||||
this.paperUserDAO.deleteByExample(paperUserExample);
|
||||
this.paperUserDAO.deleteByExample(paperUserExample);*/
|
||||
|
||||
this.deletePaperUserQuestion(idList);
|
||||
|
||||
}
|
||||
|
@ -122,7 +122,7 @@ public class PaperUserSubmitAnswerService {
|
||||
return new TrainAnswerVO(PaperQuestionState.Undo, Collections.EMPTY_LIST);
|
||||
}
|
||||
BusinessExceptionAssertEnum.DATA_NOT_EXIST.assertTrue(Objects.nonNull(detailVO),String.format("未找到对应的实训数据[%s]",reqVo.getPqId()));
|
||||
List<Step2VO> stepList = JsonUtils.readCollection(detailVO.getStepJson(), Step2VO.class);
|
||||
List<Step2VO> stepList = JsonUtils.readCollection(detailVO.getStepJson(),ArrayList.class, Step2VO.class);
|
||||
|
||||
Map<Long,PaperTrainAnswerDetail> stepMapper = reqVo.getTrainDetail().stream().collect(Collectors.toMap(d->d.getStepId(), Function.identity(),(v1,v2)->v1));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user