From 3625accd261feb99a6927013d7551a08d68c756e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 19 九月 2023 15:01:58 +0800
Subject: [PATCH] 修改 9.19
---
inspect-server/src/main/resources/mapper/FinishedInspectMapper.xml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/FinishedInspectMapper.xml b/inspect-server/src/main/resources/mapper/FinishedInspectMapper.xml
index 4c3684d..1030be2 100644
--- a/inspect-server/src/main/resources/mapper/FinishedInspectMapper.xml
+++ b/inspect-server/src/main/resources/mapper/FinishedInspectMapper.xml
@@ -1,6 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yuanchu.mom.mapper.FinishedInspectMapper">
+ <!--娓呯┖妫�楠岀姸鎬�-->
+ <update id="updById">
+ update mom_ocean.finished_inspect
+ set result=null
+ where id = #{rawInspectId}
+ </update>
<select id="selectFinishedInspectPage" resultType="map">
SELECT f.`id`,
f.`order_number`,
@@ -39,7 +45,6 @@
<result property="qualityTraceability" column="quality_traceability"/>
<result property="specifications" column="specifications"/>
<result property="unit" column="unit"/>
- <collection property="children" resultMap="threeMap" javaType="List"/>
</resultMap>
<select id="chooseMater" resultMap="oneMap">
select s.proname prname,
@@ -63,6 +68,7 @@
<id property="name" column="order_number"/>
<result property="customerName" column="customer_name"/>
<result property="projectName" column="project_name"/>
+ <result property="techId" column="tech_id"/>
<result property="qualityTraceability" column="quality_traceability"/>
<result property="materialCode" column="material_code"/>
<result property="material" column="material"/>
@@ -91,6 +97,7 @@
select order_number,
customer_name,
project_name,
+ tech_id,
quality_traceability,
material_code,
material,
--
Gitblit v1.9.3