Java Code Examples for com.macro.mall.portal.domain.MemberReadHistory#setCreateTime()
The following examples show how to use
com.macro.mall.portal.domain.MemberReadHistory#setCreateTime() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MemberReadHistoryServiceImpl.java From mall-swarm with Apache License 2.0 | 5 votes |
@Override public int create(MemberReadHistory memberReadHistory) { memberReadHistory.setId(null); memberReadHistory.setCreateTime(new Date()); memberReadHistoryRepository.save(memberReadHistory); return 1; }
Example 2
Source File: MemberReadHistoryServiceImpl.java From macrozheng with Apache License 2.0 | 5 votes |
@Override public int create(MemberReadHistory memberReadHistory) { memberReadHistory.setId(null); memberReadHistory.setCreateTime(new Date()); memberReadHistoryRepository.save(memberReadHistory); return 1; }
Example 3
Source File: MemberReadHistoryServiceImpl.java From mall with Apache License 2.0 | 5 votes |
@Override public int create(MemberReadHistory memberReadHistory) { UmsMember member = memberService.getCurrentMember(); memberReadHistory.setMemberId(member.getId()); memberReadHistory.setMemberNickname(member.getNickname()); memberReadHistory.setMemberIcon(member.getIcon()); memberReadHistory.setId(null); memberReadHistory.setCreateTime(new Date()); memberReadHistoryRepository.save(memberReadHistory); return 1; }
Example 4
Source File: MemberReadHistoryServiceImpl.java From macrozheng-mall with MIT License | 5 votes |
@Override public int create(MemberReadHistory memberReadHistory) { memberReadHistory.setId(null); memberReadHistory.setCreateTime(new Date()); memberReadHistoryRepository.save(memberReadHistory); return 1; }