Exemplo n.º 1
0
 @Override
 public void insert(EventMember eventMember) {
   eventMember.setCreateTime(new Date());
   eventMember.setLastModifiedTime(eventMember.getCreateTime());
   String id = super.insert(eventMember);
   eventMember.set_id(id);
 }
Exemplo n.º 2
0
 @Override
 public void update(EventMember eventMember) {
   eventMember.setLastModifiedTime(new Date());
   super.update(eventMember);
 }