heheng
2026-02-02 44036f6e3f4d443d58f594774ef89221f7a87036
multi-system/src/main/java/com/gkhy/exam/system/service/impl/ExExamRecordServiceImpl.java
@@ -13,9 +13,9 @@
import com.gkhy.exam.system.mapper.ExExamRecordMapper;
import com.gkhy.exam.system.mapper.ExStudentMapper;
import com.gkhy.exam.system.service.ExExamRecordService;
import org.ehcache.core.util.CollectionUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import org.springframework.web.multipart.MultipartFile;
import java.util.ArrayList;
@@ -81,7 +81,7 @@
        examRecord.setCreateBy(SecurityUtils.getUsername());
        int row=baseMapper.insert(examRecord);
        List<RecordFile> files = examRecord.getFiles();
        if (!files.isEmpty()){
        if (!CollectionUtils.isEmpty(files)){
            baseMapper.insertFile(files,examRecord.getId());
        }
        if(row<1){