songhuangfeng123
2022-09-08 bfb4c1e1d4e3f99f74a51ef5b67531f9d91d0dde
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
package com.gkhy.safePlatform.targetDuty.service.baseService.impl;
 
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.safePlatform.targetDuty.entity.RewardPunishmentStandard;
import com.gkhy.safePlatform.targetDuty.model.dto.req.RewardPunishmentStandardQueryCriteria;
import com.gkhy.safePlatform.targetDuty.repository.RewardPunishmentStandardRepository;
import com.gkhy.safePlatform.targetDuty.service.baseService.RewardPunishmentStandardBaseService;
import com.gkhy.safePlatform.targetDuty.utils.QueryHelpPlus;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * (RewardPunishmentStandard)表服务实现类
 *
 * @author xurui
 * @since 2022-07-21 10:20:10
 */
@Service("rewardPunishmentStandardBaseService")
public class RewardPunishmentStandardBaseServiceImpl extends ServiceImpl<RewardPunishmentStandardRepository, RewardPunishmentStandard> implements RewardPunishmentStandardBaseService {
 
 
    @Override
    public List<RewardPunishmentStandard> queryAll(RewardPunishmentStandardQueryCriteria criteria) {
        return baseMapper.selectList(QueryHelpPlus.getPredicate(RewardPunishmentStandard.class, criteria));
    }
 
    @Override
    public IPage<RewardPunishmentStandard> selectPage(IPage<RewardPunishmentStandard> page, QueryWrapper predicate) {
        return baseMapper.selectPage(page,predicate);
 
    }
}