When SpringBoot uploads in batches, the information of uploaded files is written, and the database is found to be duplicated.

when SpringBoot uploads batch files, the information of uploaded files is written, and the database is found to be duplicated.
uses mybatis + mybatis-plus.
service code as follows:

public Boolean insertByEntity(SysPkFile entity) {
        System.out.println(entity.getFileName());
        sysPkFileMapper.insert(entity);
        System.out.println(entity.getFileName());
        return false;
    }

here is the content printed by the method. As you can see, the FileName field passed in to entity is correct. But only the last piece of data was inserted when it was inserted.
clipboard.png
what is the cause of this and how to solve it? thank you!

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf2ec2-3a1e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf2ec2-3a1e3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?