From 3beb3b001475e09c8beb8a5a107464d4abf39fbe Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期四, 16 十一月 2023 13:49:46 +0800
Subject: [PATCH] 安全考核迁移

---
 hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml b/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml
index c5e0131..2cf6e2c 100644
--- a/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml
+++ b/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml
@@ -6,12 +6,12 @@
   <insert id="insertAndUpdate">
     insert into t_su_material_warehouse_record
     <trim prefix="(" suffix=")" suffixOverrides=",">
-        <if test="id != null">
-            id,
-        </if>
-        <if test="nameOfOrigin != null">
-            name_of_origin,
-        </if>
+      <if test="id != null">
+        id,
+      </if>
+      <if test="nameOfOrigin != null">
+        name_of_origin,
+      </if>
       <if test="tableNum != null">
         table_num,
       </if>
@@ -53,12 +53,12 @@
       </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
-        <if test="id != null">
-            #{id,jdbcType=VARCHAR},
-        </if>
-        <if test="nameOfOrigin != null">
-            #{nameOfOrigin,jdbcType=VARCHAR},
-        </if>
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="nameOfOrigin != null">
+        #{nameOfOrigin,jdbcType=VARCHAR},
+      </if>
       <if test="tableNum != null">
         #{tableNum,jdbcType=INTEGER},
       </if>
@@ -101,9 +101,9 @@
     </trim>
     on duplicate key update
     <trim suffixOverrides=",">
-        <if test="nameOfOrigin != null">
+      <if test="nameOfOrigin != null">
             name_of_origin = #{nameOfOrigin,jdbcType=VARCHAR},
-        </if>
+      </if>
       <if test="tableNum != null">
         table_num = #{tableNum,jdbcType=INTEGER},
       </if>

--
Gitblit v1.9.3