From f8643a6b03cbc949a875f6018d0b2b5aa5a3a0f0 Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期三, 14 五月 2025 14:28:55 +0800 Subject: [PATCH] 机房管理 --- src/main/resources/mapper/StationInfMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/StationInfMapper.xml b/src/main/resources/mapper/StationInfMapper.xml index 3b95326..088ccc8 100644 --- a/src/main/resources/mapper/StationInfMapper.xml +++ b/src/main/resources/mapper/StationInfMapper.xml @@ -2,8 +2,8 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.whyc.mapper.StationInfMapper"> - <select id="getMaxStationNum" resultType="java.lang.Integer"> - select ifnull(max(station_num),0) from db_station.tb_station_inf where station_id>0; + <select id="getMaxStationId" resultType="java.lang.Integer"> + select ifnull(max(station_id),0) from db_station.tb_station_inf where station_id>0; </select> <resultMap id="name1List" type="provice"> <result property="provice" column="provice" ></result> -- Gitblit v1.9.1