package com.casic.missiles.mapper.business;

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

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wangpeng
 * @since 2023-02-02
 */
public interface BusinessEnvironmentRecordMapper extends BaseMapper<BusinessEnvironmentRecord> {
    @Select("SELECT IFNULL(max(RIGHT(environment_code, 12)), 0) from  business_environment_record")
    Long selectMaxCode();

}
