bug修改。

This commit is contained in:
Renpc-kilig 2021-06-17 15:56:28 +08:00
parent ba7e6bd381
commit a855cc5534

View File

@ -468,7 +468,12 @@ public class DistributionServiceImpl extends DefaultBaseService implements IDist
* 获取考试信息 * 获取考试信息
*/ */
query.put("examPlanIdList", distributionId); query.put("examPlanIdList", distributionId);
List<ExamPlanDTO> examPlanDTOS = examPlanService.list(query); List<ExamPlanDTO> examPlanDTOS = null;
try {
examPlanDTOS = examPlanService.list(query);
}catch (Exception e) {
e.printStackTrace();
}
query.remove("examPlanIdList"); query.remove("examPlanIdList");
int fieldTotalNumber = 0; int fieldTotalNumber = 0;
for(ExamPlanDTO examPlanDTO : examPlanDTOS) { for(ExamPlanDTO examPlanDTO : examPlanDTOS) {