From 05981a8e1db6adcb3dc79907fc22453fb2e51230 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期日, 24 九月 2023 18:30:28 +0800
Subject: [PATCH] 销售订单导出

---
 inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml b/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml
index e18c187..68aea86 100644
--- a/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml
+++ b/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml
@@ -1,6 +1,11 @@
 <?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.ProcessInspectMapper">
+
+    <!--灏嗘楠岀姸鎬佷慨鏀逛负null-->
+    <update id="updById">
+        update mom_ocean.process_inspect set result=null where id=#{rawInspectId}
+    </update>
     <!--鏂板杩囩▼妫�楠屽崟-鏍规嵁璁㈠崟鍙烽�夋嫨浜у搧淇℃伅鍜屽伐鑹�-->
     <resultMap id="oneMap" type="map">
         <id property="name" column="material"/>
@@ -14,7 +19,7 @@
         <collection property="children" resultMap="threeMap" javaType="List"/>
     </resultMap>
     <resultMap id="threeMap" type="map">
-        <id property="id" column="technologyId"/>
+        <id property="id" column="mtId"/>
         <result property="name" column="techname"/>
     </resultMap>
     <select id="chooseMater" resultMap="oneMap">
@@ -22,7 +27,7 @@
                code,
                specifications,
                unit,
-               technology_id technologyId,
+               mt.id  mtId,
                techfather,
                techname
         from mom_ocean.manual_technology mt

--
Gitblit v1.9.3