package com.patzn.lims.res.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.patzn.lims.res.entity.LmsCustomer;
import com.patzn.lims.res.vo.LmsCustomerBriefVO;
import com.patzn.lims.res.vo.LmsCustomerDetailVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 客户信息表 Mapper 接口
 * </p>
 *
 * @author patzn
 * @since 2017-08-28
 */
public interface LmsCustomerMapper extends BaseMapper<LmsCustomer> {


    List<LmsCustomerDetailVO> selectPageByVO(Page page, @Param("vo") LmsCustomerDetailVO vo);


    List<LmsCustomerDetailVO> selectByVO(@Param("vo") LmsCustomerDetailVO vo);



    List<LmsCustomerBriefVO> selectNewByVO(@Param("cname") String cname);

}