|
|
@ -361,6 +361,7 @@ func (this *MatterService) createNonDirMatter(dirMatter *Matter, filename string |
|
|
Privacy: privacy, |
|
|
Privacy: privacy, |
|
|
Path: fileRelativePath, |
|
|
Path: fileRelativePath, |
|
|
Prop: EMPTY_JSON_MAP, |
|
|
Prop: EMPTY_JSON_MAP, |
|
|
|
|
|
VisitTime: time.Now(), |
|
|
} |
|
|
} |
|
|
matter = this.matterDao.Create(matter) |
|
|
matter = this.matterDao.Create(matter) |
|
|
|
|
|
|
|
|
@ -526,6 +527,7 @@ func (this *MatterService) createDirectory(request *http.Request, dirMatter *Mat |
|
|
Dir: true, |
|
|
Dir: true, |
|
|
Name: name, |
|
|
Name: name, |
|
|
Path: relativePath, |
|
|
Path: relativePath, |
|
|
|
|
|
VisitTime: time.Now(), |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
matter = this.matterDao.Create(matter) |
|
|
matter = this.matterDao.Create(matter) |
|
|
@ -711,6 +713,7 @@ func (this *MatterService) copy(request *http.Request, srcMatter *Matter, destDi |
|
|
Privacy: srcMatter.Privacy, |
|
|
Privacy: srcMatter.Privacy, |
|
|
Path: destDirMatter.Path + "/" + name, |
|
|
Path: destDirMatter.Path + "/" + name, |
|
|
Prop: EMPTY_JSON_MAP, |
|
|
Prop: EMPTY_JSON_MAP, |
|
|
|
|
|
VisitTime: time.Now(), |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
newMatter = this.matterDao.Create(newMatter) |
|
|
newMatter = this.matterDao.Create(newMatter) |
|
|
@ -743,6 +746,7 @@ func (this *MatterService) copy(request *http.Request, srcMatter *Matter, destDi |
|
|
Privacy: srcMatter.Privacy, |
|
|
Privacy: srcMatter.Privacy, |
|
|
Path: destDirMatter.Path + "/" + name, |
|
|
Path: destDirMatter.Path + "/" + name, |
|
|
Prop: EMPTY_JSON_MAP, |
|
|
Prop: EMPTY_JSON_MAP, |
|
|
|
|
|
VisitTime: time.Now(), |
|
|
} |
|
|
} |
|
|
newMatter = this.matterDao.Create(newMatter) |
|
|
newMatter = this.matterDao.Create(newMatter) |
|
|
|
|
|
|
|
|
|