package io.gisbi.application.baseinfo.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import io.gisbi.application.baseinfo.domain.Application;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 应用系统 Mapper 接口
 * </p>
 *
 * @author zhengsl
 * @since 2025-03-24
 */
@Mapper
public interface ApplicationMapper extends BaseMapper<Application> {
    @Select("SELECT MAX(CAST(code AS UNSIGNED)) FROM app_application")
    Integer getMaxCode();
}
