@ -104,7 +104,7 @@ public interface FileMapper extends AbstractMapper {
default int create(List<FileInfo> files) {
if (isEmpty(files)) return 0;
DataObject params = params().set("currentUser", currentUser());
DataObject params = params();
int affected = 0;
for (FileInfo file:files)
affected += insertFile(params.set("file", file));