From c163052d4f7e2debfc1cfb14edf85f503b2c7c00 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期二, 21 十一月 2023 10:19:30 +0800
Subject: [PATCH] 修改地址
---
hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml b/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml
index ffb5048..2cf6e2c 100644
--- a/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml
+++ b/hd/pipe/materialsManage/src/main/resources/mapping/SuMaterialWarehouseMapper.xml
@@ -4,14 +4,14 @@
<insert id="insertAndUpdate">
- insert ignore into t_su_material_warehouse_record
+ 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