public Long save(final CmtSpecialSubjectVO cmtSpecialSubject) { if (null == cmtSpecialSubject) { return null; } if (null == cmtSpecialSubject.getId()) { cmtSpecialSubjectDAO.insert(cmtSpecialSubject); } else { cmtSpecialSubjectDAO.update(cmtSpecialSubject); } return cmtSpecialSubject.getId(); }
public Long count(Map<String, Object> params) { return cmtSpecialSubjectDAO.count(params); }
public CmtSpecialSubjectVO queryByPk(Serializable id) { if (null == id) { return null; } return cmtSpecialSubjectDAO.queryByPk(id); }
public List<CmtSpecialSubjectVO> query(Map<String, Object> params) { if (null == params) { return null; } return cmtSpecialSubjectDAO.query(params); }