package com.shinsoft.sto.mapper.main;

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

public interface CustomerMapper extends BaseMapper<Customer> {

    @Select("SELECT id as value,custtomerNm as label FROM STO_MAIN_CUSTOMER WHERE nvl(cancel_flag,0) = 0 and belong_id = #{belongId}")
    selectModel selectModel(String belongId);
}
