package com.yifu.cloud.plus.v1.business.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.business.entity.TPolicy;
import com.yifu.cloud.plus.v1.business.mapper.TPolicyMapper;
import com.yifu.cloud.plus.v1.business.service.TPolicyService;
import org.springframework.stereotype.Service;

/**
 * B端-政策
 *
 * @author hgw
 * @date 2020-08-26 17:41:55
 */
@Service("tPolicyService")
public class TPolicyServiceImpl extends ServiceImpl<TPolicyMapper, TPolicy> implements TPolicyService {

     /**
      * B端-政策简单分页查询
      *
      * @param tPolicy B端-政策
      * @return
      */
     @Override
     public IPage<TPolicy> getTPolicyPage(Page<TPolicy> page, TPolicy tPolicy) {
          return baseMapper.getTPolicyPage(page, tPolicy);
     }

}
