}
public CmsModelItem update(CmsModelItem bean) {
Updater<CmsModelItem> updater = new Updater<CmsModelItem>(bean);
CmsModelItem entity = dao.updateByUpdater(updater);
entity.emptyToNull();
return entity;
}
public CmsModelItem deleteById(Integer id) {
CmsModelItem bean = dao.deleteById(id);