文件管理bug修改
This commit is contained in:
parent
9b26686941
commit
358d8ce130
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user