package com.pig4cloud.pigx.app.service.as.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pig4cloud.pigx.app.api.entity.as.AsUserSub;
import com.pig4cloud.pigx.app.mapper.as.AsUserSubMapper;
import com.pig4cloud.pigx.app.service.as.AsUserSubService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * as 用户订阅
 *
 * @author amigo
 * @date 2023-07
 */
@Service
@AllArgsConstructor
@Slf4j
public class AsUserSubServiceImpl extends ServiceImpl<AsUserSubMapper, AsUserSub> implements AsUserSubService {

	@Override
	public List<AsUserSub> listSubPlanById(Long id) {
		return baseMapper.listSubPlanById(id);
	}

//	@Override
	public List<AsUserSub> xxx(Long id) {
		return baseMapper.listSubPlanById(id);
//		return baseMapper.countSub(id);
	}
}
