From 8abe275e36823f1065300af45e1f7a9a68f549a7 Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期三, 06 九月 2023 16:14:40 +0800 Subject: [PATCH] 修改bug --- inspection-server/src/main/resources/mapper/PlanMapper.xml | 17 +++++++++++------ 1 files changed, 11 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..c0df58e 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,9 +16,13 @@ <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="uId" column="uId"/> <result property="checker" column="checker"/> + <result property="isuId" column="isuId"/> <result property="instrumentname" column="instrumentname"/> + <result property="classId" column="classId"/> </resultMap> <!--鏌ヨ妫�楠岃鍒�--> <select id="selectAllPlan" resultMap="selectAllPlanMap"> @@ -36,8 +37,12 @@ ip.unit, required, internal, + test_value testValue, test_state testState, + u.id uId, u.name checker, + isu.id isuId, + isu.classify_id classId, equipment_name instrumentname from lims_laboratory.inspection_product ip left join lims_laboratory.inspection_material im on ip.inspection_material_id = im.id -- Gitblit v1.9.3