示例#1
0
 @Override
 public boolean deleteById(Long id) {
   LinkRecently d = this.findById(id);
   if (d != null) {
     d.setModifyDate(new Date());
     this.update(d);
   }
   return true;
 }
示例#2
0
 public void save(List<LinkRecently> entitys) throws Exception {
   for (LinkRecently entity : entitys) {
     entity.setModifyDate(new Date());
     this.save(entity);
   }
 }