Browse Source

Merge remote-tracking branch 'origin/dev_memo' into develop

master
sunyuchao 3 years ago
parent
commit
dbdb0439a8
  1. 4
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/MemoConcernServiceImpl.java
  2. 4
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/MemoWorkDiaryServiceImpl.java

4
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/MemoConcernServiceImpl.java

@ -71,9 +71,9 @@ public class MemoConcernServiceImpl extends BaseServiceImpl<MemoConcernDao, Memo
}
//更新阅读状态
if (NumConstant.ONE_STR.equals(formDTO.getReadFlag())) {
MemoAttrDTO memoAttrDTO = new MemoAttrDTO();
memoAttrDTO.setId(formDTO.getId());
MemoAttrDTO memoAttrDTO = memoAttrService.get(formDTO.getId());
memoAttrDTO.setReadFlag(NumConstant.ONE);
memoAttrDTO.setUpdatedTime(null);
memoAttrService.update(memoAttrDTO);
}
return dto;

4
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/service/impl/MemoWorkDiaryServiceImpl.java

@ -71,9 +71,9 @@ public class MemoWorkDiaryServiceImpl extends BaseServiceImpl<MemoWorkDiaryDao,
}
//更新阅读状态
if (NumConstant.ONE_STR.equals(formDTO.getReadFlag())) {
MemoAttrDTO memoAttrDTO = new MemoAttrDTO();
memoAttrDTO.setId(formDTO.getId());
MemoAttrDTO memoAttrDTO = memoAttrService.get(formDTO.getId());
memoAttrDTO.setReadFlag(NumConstant.ONE);
memoAttrDTO.setUpdatedTime(null);
memoAttrService.update(memoAttrDTO);
}
return dto;

Loading…
Cancel
Save