jiangqs
2023-05-30 fc39a04331e80226d50242ac1ec27f93494fb359
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.ruoyi.system.service.impl.config;
 
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>
 * 活跃度配置 服务实现类
 * </p>
 *
 * @author jqs
 * @since 2023-05-25
 */
@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;
    }
 
}