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); } } } }
public NoteEntity get(String obid) { return noteEntityDao.get(NoteEntity.class, obid); }
public NoteEntity get(NotePage notePage) { return noteEntityDao.get(NoteEntity.class, notePage.getObid()); }
public void update(NotePage notePage) throws Exception { NoteEntity t = noteEntityDao.get(NoteEntity.class, notePage.getObid()); if (t != null) { MyBeanUtils.copyBeanNotNull2Bean(notePage, t); } }