fix
songhuangfeng123
2022-09-20 f1f506172a3edff8d31e4db77b8940f115660919
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
38
39
40
package com.gkhy.safePlatform.targetDuty.service.baseService.impl;
 
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gkhy.safePlatform.targetDuty.entity.RewardPunishmentDetail;
import com.gkhy.safePlatform.targetDuty.model.dto.req.RewardPunishmentDetailQueryCriteria;
import com.gkhy.safePlatform.targetDuty.model.dto.resp.RewardPunishmentDetailDto;
import com.gkhy.safePlatform.targetDuty.repository.RewardPunishmentDetailRepository;
import com.gkhy.safePlatform.targetDuty.service.baseService.RewardPunishmentDetailBaseService;
import com.gkhy.safePlatform.targetDuty.utils.QueryHelpPlus;
import org.springframework.stereotype.Service;
 
import java.util.*;
 
/**
 * 奖惩记录(RewardPunishmentDetail)表服务实现类
 *
 * @author xurui
 * @since 2022-07-21 10:15:45
 */
@Service("rewardPunishmentDetailBaseService")
public class RewardPunishmentDetailBaseServiceImpl extends ServiceImpl<RewardPunishmentDetailRepository, RewardPunishmentDetail> implements RewardPunishmentDetailBaseService {
 
 
    @Override
    public List<RewardPunishmentDetail> queryAll(RewardPunishmentDetailQueryCriteria criteria) {
        return baseMapper.selectList(QueryHelpPlus.getPredicate(RewardPunishmentDetail.class, criteria));
    }
 
    @Override
    public IPage<RewardPunishmentDetailDto> queryAll(IPage<RewardPunishmentDetailDto> page, String personId) {
        return baseMapper.queryAll(page,personId);
    }
 
    @Override
    public List<RewardPunishmentDetail> queryAll(String personId) {
        return baseMapper.queryAll(personId);
    }
 
}