package com.shinsoft.sto.mapper.main;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shinsoft.sto.model.common.selectModel;
import com.shinsoft.sto.model.main.Customer;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CustomerMapper extends BaseMapper<Customer> {

    /**
     * 查询客户下拉框数据
     */
    List<selectModel> selectCustomerOptions(@Param("belongId") String belongId);

    List<Customer> selectByName(@Param("customerNm") String customerNm,@Param("customerShortNm") String customerShortNm,@Param("belongId") String belongId);
}
