| | |
| | | package com.yeshi.fanli.dao.mybatis.integral; |
| | | |
| | | import java.util.List; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.integral.IntegralTaskClass; |
| | | import com.yeshi.fanli.vo.integral.IntegralTaskClassVO; |
| | | |
| | | public interface IntegralTaskClassMapper extends BaseMapper<IntegralTaskClass> { |
| | | |
| | | /** |
| | | * 获取有效任务 |
| | | * @return |
| | | */ |
| | | List<IntegralTaskClassVO> getIntegralTaskClassVO(@Param("start")long start, @Param("count")int count); |
| | | |
| | | Long countTaskClass(); |
| | | |
| | | /** |
| | | * 根据唯一值查询 |
| | | * @param uniqueKey |
| | | * @return |
| | | */ |
| | | IntegralTaskClass getByUniqueKey(@Param("uniqueKey") String uniqueKey); |
| | | package com.yeshi.fanli.dao.mybatis.integral;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.integral.IntegralTaskClass;
|
| | | import com.yeshi.fanli.vo.integral.IntegralTaskClassVO;
|
| | |
|
| | | public interface IntegralTaskClassMapper extends BaseMapper<IntegralTaskClass> {
|
| | | |
| | | /**
|
| | | * 获取有效任务
|
| | | * @return
|
| | | */
|
| | | List<IntegralTaskClassVO> getIntegralTaskClassVO(@Param("start")long start, @Param("count")int count);
|
| | | |
| | | Long countTaskClass();
|
| | | |
| | | /**
|
| | | * 根据唯一值查询
|
| | | * @param uniqueKey
|
| | | * @return
|
| | | */
|
| | | IntegralTaskClass getByUniqueKey(@Param("uniqueKey") String uniqueKey);
|
| | | } |