|
@@ -318,10 +318,10 @@ public class RandomPaperServiceImpl implements RandomPaperService {
|
|
|
sqinfo.setDetailName(ds.getName());
|
|
|
cd.setDetailNumber(detailNumber);
|
|
|
cd.setSqinfo(sqinfo);
|
|
|
- cd.setUnitScore(ds.getScore());
|
|
|
int index = 0;
|
|
|
for (PaperDetailUnitStructDto us : ds.getUnitStructs()) {
|
|
|
index++;
|
|
|
+ cd.setUnitScore(us.getScore());
|
|
|
cd.setIndex(index);
|
|
|
cd.setUs(us);
|
|
|
setQuestionInfoByExact(cd);
|