shiyunteng
1 天以前 8de09297dcc5393cc8542f29318b17f5696d4f8d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.by4cloud.platformx.business.service.impl;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.by4cloud.platformx.business.dto.PaymentSlipQueryDTO;
import com.by4cloud.platformx.business.entity.PaymentSlip;
import com.by4cloud.platformx.business.mapper.PaymentSlipMapper;
import com.by4cloud.platformx.business.service.PaymentSlipService;
import com.by4cloud.platformx.common.data.datascope.DataScope;
import org.springframework.stereotype.Service;
 
@Service
public class PaymentSlipServiceImpl extends ServiceImpl<PaymentSlipMapper, PaymentSlip> implements PaymentSlipService {
    @Override
    public Page pageScope(Page page, PaymentSlipQueryDTO queryDTO) {
        return baseMapper.pageScope(page,queryDTO, DataScope.of("comp_id"));
    }
}