package com.casic.missiles.mapper.customer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.casic.missiles.model.customer.CustomerInfo;
import org.apache.ibatis.annotations.Select;

public interface CustomerMapper extends BaseMapper<CustomerInfo> {

    @Select("SELECT IFNULL(max(RIGHT(customer_no, 12)), 0) from customer_info  ")
    Long selectMaxCustomerNo();

}
