package com.stylefeng.guns.modular.system.service.impl; import com.baomidou.mybatisplus.service.impl.ServiceImpl; import com.stylefeng.guns.modular.system.dao.UserActivityRegisteredMapper; import com.stylefeng.guns.modular.system.model.UserActivityRegistered; import com.stylefeng.guns.modular.system.service.IUserActivityRegisteredService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; import java.util.Map; @Service public class UserActivityRegisteredServiceImpl extends ServiceImpl implements IUserActivityRegisteredService { @Resource private UserActivityRegisteredMapper userActivityRegisteredMapper; /** * 获取当前有效的注册活动 * @param companyId * @return * @throws Exception */ @Override public List> query(Integer companyId) throws Exception { return userActivityRegisteredMapper.query(companyId); } }