|
@@ -155,8 +155,7 @@ public class TaskLogicServiceImpl implements TaskLogicService {
|
|
|
JSONArray jsonArrayOrdinary = JSONArray.parseArray(examPrintPlan.getOrdinaryContent());
|
|
|
for (int i = 0; i < jsonArrayOrdinary.size(); i++) {
|
|
|
JSONObject jsonObjectOrdinary = jsonArrayOrdinary.getJSONObject(i);
|
|
|
-// Long attachmentId = (Long) jsonObjectOrdinary.get("attachmentId");
|
|
|
- Long attachmentId = null;
|
|
|
+ Long attachmentId = (Long) jsonObjectOrdinary.get("attachmentId");
|
|
|
BasicAttachment basicAttachment = basicAttachmentService.getById(attachmentId);
|
|
|
createPdfUtil.createCheckIn(basicAttachment, ordinaryPdfList, (Integer) jsonObjectOrdinary.get("backupCount"));
|
|
|
}
|