|
@@ -101,7 +101,9 @@ public class ExamCardServiceImpl extends ServiceImpl<ExamCardMapper, ExamCard> i
|
|
|
examCard.setMakeMethod(examCardParams.getMakeMethod());
|
|
|
examCard.setStatus(examCardParams.getStatus());
|
|
|
examCard.setType(examCardParams.getType());
|
|
|
- examCard.setAttachmentId(Long.valueOf(examCardParams.getAttachmentId()));
|
|
|
+ if(StringUtils.isNotBlank(examCardParams.getAttachmentId())) {
|
|
|
+ examCard.setAttachmentId(Long.valueOf(examCardParams.getAttachmentId()));
|
|
|
+ }
|
|
|
examCard.insertInfo(user.getId());
|
|
|
this.save(examCard);
|
|
|
|