| | |
| | | package com.yeshi.fanli.service.inter.user.integral;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.integral.IntegralTask;
|
| | |
|
| | | public interface IntegralTaskService {
|
| | |
|
| | | /**
|
| | | * 查询任务
|
| | | * @param cid
|
| | | * @param uniqueKey
|
| | | * @return
|
| | | */
|
| | | public IntegralTask getByCidAndUniqueKey(Long cid, String uniqueKey);
|
| | |
|
| | | |
| | | /**
|
| | | * 查询分类下所有有效任务
|
| | | * @param cid
|
| | | * @return
|
| | | */
|
| | | public List<IntegralTask> listByCid(Long cid);
|
| | |
|
| | |
|
| | | /**
|
| | | * |
| | | * @param id
|
| | | * @return
|
| | | */
|
| | | public IntegralTask selectByPrimaryKey(Long id);
|
| | |
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.service.inter.user.integral; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.integral.IntegralTask; |
| | | |
| | | public interface IntegralTaskService { |
| | | |
| | | /** |
| | | * 查询任务 |
| | | * @param cid |
| | | * @param uniqueKey |
| | | * @return |
| | | */ |
| | | public IntegralTask getByCidAndUniqueKey(Long cid, String uniqueKey); |
| | | |
| | | |
| | | /** |
| | | * 查询分类下所有有效任务 |
| | | * @param cid |
| | | * @return |
| | | */ |
| | | public List<IntegralTask> listByCid(Long cid); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public IntegralTask selectByPrimaryKey(Long id); |
| | | |
| | | |
| | | } |