| | |
| | | package com.yeshi.fanli.service.impl.user.integral;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import com.yeshi.fanli.dao.mybatis.integral.IntegralTaskMapper;
|
| | | import com.yeshi.fanli.entity.integral.IntegralTask;
|
| | | import com.yeshi.fanli.service.inter.user.integral.IntegralTaskService;
|
| | |
|
| | | @Service
|
| | | public class IntegralTaskServiceImpl implements IntegralTaskService {
|
| | |
|
| | | @Resource
|
| | | private IntegralTaskMapper integralTaskMapper;
|
| | |
|
| | | |
| | | @Override
|
| | | public IntegralTask selectByPrimaryKey(Long id) {
|
| | | return integralTaskMapper.selectByPrimaryKey(id);
|
| | | }
|
| | | |
| | | @Override
|
| | | public List<IntegralTask> listByCid(Long cid) {
|
| | | return integralTaskMapper.listByCid(cid);
|
| | | }
|
| | | |
| | | |
| | | @Override
|
| | | public IntegralTask getByCidAndUniqueKey(Long cid, String uniqueKey) {
|
| | | return integralTaskMapper.getByCidAndUniqueKey(cid, uniqueKey);
|
| | | }
|
| | | }
|
| | |
|
| | | package com.yeshi.fanli.service.impl.user.integral; |
| | | |
| | | import java.util.List; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import com.yeshi.fanli.dao.mybatis.integral.IntegralTaskMapper; |
| | | import com.yeshi.fanli.entity.integral.IntegralTask; |
| | | import com.yeshi.fanli.service.inter.user.integral.IntegralTaskService; |
| | | |
| | | @Service |
| | | public class IntegralTaskServiceImpl implements IntegralTaskService { |
| | | |
| | | @Resource |
| | | private IntegralTaskMapper integralTaskMapper; |
| | | |
| | | |
| | | @Override |
| | | public IntegralTask selectByPrimaryKey(Long id) { |
| | | return integralTaskMapper.selectByPrimaryKey(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<IntegralTask> listByCid(Long cid) { |
| | | return integralTaskMapper.listByCid(cid); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public IntegralTask getByCidAndUniqueKey(Long cid, String uniqueKey) { |
| | | return integralTaskMapper.getByCidAndUniqueKey(cid, uniqueKey); |
| | | } |
| | | } |
| | | |