Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
car031 committed Jan 8, 2025
2 parents 280259c + 234d0ae commit 0150615
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ private void updateLastNote(Document doccument, DocumentNote note) {
dao.initialize(document);

String lastNoteMessage = dao.queryForList(
"select ld_message from ld_note where ld_page=0 and ld_id=:id order by ld_date desc",
"select ld_message from ld_note where ld_page=0 and ld_deleted=0 and ld_id=:id order by ld_date desc",
Map.of("id", note.getDocId()), String.class, null).stream().findFirst()
.orElse(note.getMessage());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ public class GUIIncrementalArchive implements Serializable {

private List<GUITemplate> templates = new ArrayList<>();

private Long aosManagerId;

public GUIIncrementalArchive() {
folder = new GUIFolder();
folder.setId(5);
Expand Down Expand Up @@ -86,12 +84,4 @@ public void setId(long id) {
public List<Long> getTemplateIds() {
return templates.stream().map(t -> t.getId()).collect(Collectors.toList());
}

public Long getAosManagerId() {
return aosManagerId;
}

public void setAosManagerId(Long aosManagerId) {
this.aosManagerId = aosManagerId;
}
}

0 comments on commit 0150615

Please sign in to comment.