From 0bd3125739c0d8bded4f7bd405fd99f1723df964 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期五, 30 五月 2025 15:51:49 +0800
Subject: [PATCH] 不同服务器配置文件备份

---
 pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml
index 600d8b4..694f268 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrWorkingInstructionMapper.xml
@@ -38,17 +38,17 @@
             #{item}
         </foreach>
     </delete>
-    <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoPr.PrWorkingInstruction" useGeneratedKeys="true">
+    <insert id="insertSelective" parameterType="com.dy.pmsGlobal.pojoPr.PrWorkingInstruction">
         insert into pr_working_instruction
         <trim prefix="(" suffix=")" suffixOverrides=",">
-                <if test="id != null and id !=''">id,</if>
-                <if test="nodeId!= null and nodeId !=''">node_id,</if>
-                <if test="fileId != null and fileId !=''">file_id,</if>
+                <if test="id != null">id,</if>
+                <if test="nodeId!= null">node_id,</if>
+                <if test="fileId != null">file_id,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
-                <if test="id != null and id !=''">#{id,jdbcType=BIGINT},</if>
-                <if test="nodeId!= null and nodeId !=''">#{nodeId,jdbcType=BIGINT},</if>
-                <if test="fileId != null and fileId !=''">#{fileId,jdbcType=BIGINT},</if>
+                <if test="id != null">#{id,jdbcType=BIGINT},</if>
+                <if test="nodeId!= null">#{nodeId,jdbcType=BIGINT},</if>
+                <if test="fileId != null">#{fileId,jdbcType=BIGINT},</if>
         </trim>
     </insert>
     <insert id="insertMany" parameterType="java.util.List">
@@ -68,10 +68,10 @@
     <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoPr.PrWorkingInstruction">
         update pr_working_instruction
         <set>
-                <if test="nodeId!= null and nodeId !=''">
+                <if test="nodeId!= null">
                     node_id = #{nodeId,jdbcType=BIGINT},
                 </if>
-                <if test="fileId != null and fileId !=''">
+                <if test="fileId != null">
                     file_id = #{fileId,jdbcType=BIGINT},
                 </if>
         </set>

--
Gitblit v1.8.0