Пример #1
0
 public void delete(String ids) {
   if (ids != null) {
     for (String id : ids.split(",")) {
       NoteEntity t = noteEntityDao.get(NoteEntity.class, id);
       if (t != null) {
         noteEntityDao.delete(t);
       }
     }
   }
 }
Пример #2
0
 public NoteEntity get(String obid) {
   return noteEntityDao.get(NoteEntity.class, obid);
 }
Пример #3
0
 public NoteEntity get(NotePage notePage) {
   return noteEntityDao.get(NoteEntity.class, notePage.getObid());
 }
Пример #4
0
 public void update(NotePage notePage) throws Exception {
   NoteEntity t = noteEntityDao.get(NoteEntity.class, notePage.getObid());
   if (t != null) {
     MyBeanUtils.copyBeanNotNull2Bean(notePage, t);
   }
 }