}
@SuppressWarnings("unchecked")
public void updateFirstYearofSchool(SystemConfigVO sysConfigVO){
SystemConfigVO _systemConfig = getSystemConfig();
if(_systemConfig.getSystemConfigId() != null){//do update
_systemConfig.setLastModification(BaseConstants.UPDATED);
_systemConfig.setOrgFirstYear(sysConfigVO.getOrgFirstYear());
} else{ //do new add
_systemConfig = new SystemConfigVO();
_systemConfig.setLastModification(BaseConstants.ADDED);
}
_systemConfig.setLastModifiedDate(new Date());
_systemConfig.setLastModifiedBy(sysConfigVO.getLastModifiedBy());
getHibernateTemplate().saveOrUpdate(_systemConfig);
}