文件管理bug修改
This commit is contained in:
parent
9b26686941
commit
358d8ce130
@ -22,7 +22,7 @@ public class FileBindingService {
|
|||||||
private FileBindingDAO fileBindingDAO;
|
private FileBindingDAO fileBindingDAO;
|
||||||
|
|
||||||
void binding(FileBindingVO fileBindingVO, UserVO user) {
|
void binding(FileBindingVO fileBindingVO, UserVO user) {
|
||||||
FileBinding entity = findEntity(fileBindingVO.getId(), fileBindingVO.getMapId());
|
FileBinding entity = findEntity(fileBindingVO.getFileId(), fileBindingVO.getMapId());
|
||||||
if (entity == null) {
|
if (entity == null) {
|
||||||
FileBinding fileBinding = fileBindingVO.buildFileBinding();
|
FileBinding fileBinding = fileBindingVO.buildFileBinding();
|
||||||
fileBinding.setId(null);
|
fileBinding.setId(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user