Skip to content

Commit

Permalink
Added timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
thekevinWHYuan committed Nov 17, 2024
1 parent f5ab200 commit 9afc139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/femr/data/DataModelMapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ public IPhoto createPhoto(String description, String filePath, byte[] photoData)
if (StringUtils.isNullOrWhiteSpace(description)) photo.setDescription("");
else photo.setDescription(description);
photo.setFilePath(filePath);
photo.setInsertTS(new Date());

if(photoData != null)
photo.setPhotoBlob(photoData);
Expand Down
1 change: 1 addition & 0 deletions python

0 comments on commit 9afc139

Please sign in to comment.