create(...) 수정

master
mjkhan21 1 year ago
parent 022a69583e
commit d0d65ce27e

@ -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));

Loading…
Cancel
Save