@Service @Transactional public class CmsSurveyService extends BaseService<CmsSurvey>
限定符和类型 | 字段和说明 |
---|---|
private CmsSurveyDao |
dao |
static java.lang.String |
SURVEY_TYPE_EXAM |
static java.lang.String |
SURVEY_TYPE_SURVEY |
basedao, log
构造器和说明 |
---|
CmsSurveyService() |
限定符和类型 | 方法和说明 |
---|---|
PageHandler |
getPage(java.lang.Short siteId,
java.lang.Long userId,
java.lang.String surveyType,
java.util.Date startStartDate,
java.util.Date endStartDate,
java.util.Date startEndDate,
java.util.Date endEndDate,
java.lang.String title,
java.lang.Boolean disabled,
java.lang.String orderField,
java.lang.String orderType,
java.lang.Integer pageIndex,
java.lang.Integer pageSize) |
CmsSurvey |
updateVotes(short siteId,
java.io.Serializable id,
int votes) |
delete, delete, delete, getEntity, getEntity, getEntitys, getEntitys, getEntitys, getEntitys, getId, save, save, update, update
public static final java.lang.String SURVEY_TYPE_EXAM
public static final java.lang.String SURVEY_TYPE_SURVEY
private CmsSurveyDao dao
@Transactional(readOnly=true) public PageHandler getPage(java.lang.Short siteId, java.lang.Long userId, java.lang.String surveyType, java.util.Date startStartDate, java.util.Date endStartDate, java.util.Date startEndDate, java.util.Date endEndDate, java.lang.String title, java.lang.Boolean disabled, java.lang.String orderField, java.lang.String orderType, java.lang.Integer pageIndex, java.lang.Integer pageSize)
siteId
- userId
- surveyType
- startStartDate
- endStartDate
- startEndDate
- endEndDate
- title
- disabled
- orderField
- orderType
- pageIndex
- pageSize
- @Transactional(isolation=READ_COMMITTED) public CmsSurvey updateVotes(short siteId, java.io.Serializable id, int votes)
siteId
- id
- votes
-