From a92b6f6175b1401071e5fb3bd9fab8a2a3b72011 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 01 九月 2023 14:34:28 +0800
Subject: [PATCH] version
---
inspection-server/src/main/resources/mapper/PlanMapper.xml | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/inspection-server/src/main/resources/mapper/PlanMapper.xml b/inspection-server/src/main/resources/mapper/PlanMapper.xml
index 8b9eba4..cd55aa7 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="inspectionStatus" column="inspectionStatus"/>
+ <result property="samplename" column="samplename"/>
+ <result property="testState" 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"/>
@@ -19,6 +16,7 @@
<result property="unit" column="unit"/>
<result property="required" column="required"/>
<result property="internal" column="internal"/>
+ <result property="testValue" column="testValue"/>
<result property="testState" column="testState"/>
<result property="checker" column="checker"/>
<result property="instrumentname" column="instrumentname"/>
@@ -36,6 +34,7 @@
ip.unit,
required,
internal,
+ test_value testValue,
test_state testState,
u.name checker,
equipment_name instrumentname
--
Gitblit v1.9.3