|
@@ -137,10 +137,13 @@ public class PaperAnalyzeService {
|
137
|
137
|
* @return com.xhkjedu.sstudy.vo.paper.QuestionAnalyzeVo
|
138
|
138
|
**/
|
139
|
139
|
public QuestionAnalyzeVo getQuestionDetailAnalyze(AnalyzeQuestionVo question) {
|
140
|
|
- QuestionAnalyzeVo analyze = paperAnalyzeMapper.getQuestionDetailAnalyze(question);
|
141
|
140
|
String questionpid = question.getQuestionpid();
|
142
|
141
|
String questionid = question.getQuestionid();
|
143
|
|
- if(N_Utils.isEmpty(questionpid)) question.setQuestionpid(questionid);
|
|
142
|
+ if(N_Utils.isEmpty(questionpid)) {
|
|
143
|
+ question.setQuestionpid(questionid);
|
|
144
|
+ questionpid=questionid;
|
|
145
|
+ }
|
|
146
|
+ QuestionAnalyzeVo analyze = paperAnalyzeMapper.getQuestionDetailAnalyze(question);
|
144
|
147
|
if (!questionpid.equals(questionid)) {
|
145
|
148
|
List<Map> sonqlist = questionMapper.listSonQuestionsForDetail(questionpid);
|
146
|
149
|
analyze.setSonqlist(sonqlist);
|