文件管理bug修改

This commit is contained in:
joylink_zhangsai 2021-05-17 19:04:33 +08:00
parent 9b26686941
commit 358d8ce130

View File

@ -22,7 +22,7 @@ public class FileBindingService {
private FileBindingDAO fileBindingDAO;
void binding(FileBindingVO fileBindingVO, UserVO user) {
FileBinding entity = findEntity(fileBindingVO.getId(), fileBindingVO.getMapId());
FileBinding entity = findEntity(fileBindingVO.getFileId(), fileBindingVO.getMapId());
if (entity == null) {
FileBinding fileBinding = fileBindingVO.buildFileBinding();
fileBinding.setId(null);