From 2dbc49184bd74845c8da694c20d6fd03d7ac87e0 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 21 九月 2023 16:16:21 +0800
Subject: [PATCH] 修改 9.21
---
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