From 9af79e89d057f44b142fa8af6ae394d2ce7ccfe3 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 22 八月 2023 14:15:57 +0800
Subject: [PATCH] 改动3.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