From 88ed0e2971154580635fd33f3073e3a26f52fc3a Mon Sep 17 00:00:00 2001 From: whyclxw <810412026@qq.com> Date: 星期二, 10 十二月 2024 16:06:04 +0800 Subject: [PATCH] 修改逻辑 --- src/main/resources/mapper/StationInfMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/StationInfMapper.xml b/src/main/resources/mapper/StationInfMapper.xml index 6c83de6..0d3fc56 100644 --- a/src/main/resources/mapper/StationInfMapper.xml +++ b/src/main/resources/mapper/StationInfMapper.xml @@ -5,7 +5,7 @@ <resultMap id="sinfList" type="StationInf"> <id property="sinfId" column="sinf_id"></id> <result property="sinfName" column="sinf_name"></result> - <collection property="pinfList" javaType="java.util.ArrayList" ofType="com.whyc.pojo.PowerInf" column="{sinfId=sinf_id}" select="selectPinfList"> + <collection property="pinfList" javaType="java.util.ArrayList" ofType="com.whyc.pojo.db_batt.PowerInf" column="{sinfId=sinf_id}" select="selectPinfList"> </collection> </resultMap> <select id="getAllSinf" resultMap="sinfList"> -- Gitblit v1.9.1