| | |
| | | package com.ruoyi.system.service.impl.config; |
| | | |
| | | import com.ruoyi.system.domain.pojo.config.Activeness; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.ruoyi.system.api.domain.poji.config.Activeness; |
| | | import com.ruoyi.system.mapper.config.ActivenessMapper; |
| | | import com.ruoyi.system.service.config.ActivenessService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | @Service |
| | | public class ActivenessServiceImpl extends ServiceImpl<ActivenessMapper, Activeness> implements ActivenessService { |
| | | |
| | | @Resource |
| | | private ActivenessMapper activenessMapper; |
| | | |
| | | /** |
| | | * 获取活跃度list |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<Activeness> listActiveness(){ |
| | | List<Activeness> activenessList = activenessMapper.selectList(new LambdaQueryWrapper<Activeness>().eq(Activeness::getDelFlag, 0)); |
| | | return activenessList; |
| | | } |
| | | |
| | | } |