From c427ed3db05c772cec3658949e19bcf1b6c0d2a7 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 22 八月 2023 15:03:16 +0800
Subject: [PATCH] 改动5.0

---
 inspection-server/src/main/resources/mapper/PlanMapper.xml |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/inspection-server/src/main/resources/mapper/PlanMapper.xml b/inspection-server/src/main/resources/mapper/PlanMapper.xml
index 8b9eba4..87f4036 100644
--- a/inspection-server/src/main/resources/mapper/PlanMapper.xml
+++ b/inspection-server/src/main/resources/mapper/PlanMapper.xml
@@ -4,14 +4,11 @@
     <resultMap id="selectAllPlanMap" type="map">
         <id property="code" column="code"/>
         <result property="id" column="id"/>
+        <result property="samplename" column="samplename"/>
         <result property="inspectionStatus" column="inspectionStatus"/>
         <result property="startTime" column="startTime"/>
         <result property="endTime" column="endTime"/>
-        <collection property="father" resultMap="selectAllPlanMapTowMap" javaType="List"/>
-    </resultMap>
-    <resultMap id="selectAllPlanMapTowMap" type="map">
-        <id property="samplename" column="samplename"/>
-        <collection property="chldren" resultMap="selectAllPlanMapTowsMap" javaType="List"/>
+        <collection property="children" resultMap="selectAllPlanMapTowsMap" javaType="List"/>
     </resultMap>
     <resultMap id="selectAllPlanMapTowsMap" type="map">
         <id property="pid" column="pid"/>

--
Gitblit v1.9.3