From e5a33ae7da45ba8163dd8268de01f4670068df1e Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 24 十月 2024 11:39:05 +0800
Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pms-SV

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

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml
index ef2a29f..f032710 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml
@@ -49,19 +49,19 @@
       <if test="id != null">
         id,
       </if>
-      <if test="scheduleId != null">
+      <if test="scheduleId!= null and scheduleId !=''">
         schedule_id,
       </if>
       <if test="planId != null">
         plan_id,
       </if>
-      <if test="nodeId != null">
+      <if test="nodeId!= null">
         node_id,
       </if>
       <if test="stationId != null">
         station_id,
       </if>
-      <if test="workDetails != null">
+      <if test="workDetails!= null and workDetails !=''">
         work_details,
       </if>
     </trim>
@@ -69,19 +69,19 @@
       <if test="id != null">
         #{id,jdbcType=BIGINT},
       </if>
-      <if test="scheduleId != null">
+      <if test="scheduleId!= null and scheduleId !=''">
         #{scheduleId,jdbcType=BIGINT},
       </if>
       <if test="planId != null">
         #{planId,jdbcType=BIGINT},
       </if>
-      <if test="nodeId != null">
+      <if test="nodeId!= null">
         #{nodeId,jdbcType=BIGINT},
       </if>
       <if test="stationId != null">
         #{stationId,jdbcType=BIGINT},
       </if>
-      <if test="workDetails != null">
+      <if test="workDetails!= null and workDetails !=''">
         #{workDetails,jdbcType=VARCHAR},
       </if>
     </trim>
@@ -90,19 +90,19 @@
     <!--@mbg.generated-->
     update pr_schedule_rel
     <set>
-      <if test="scheduleId != null">
+      <if test="scheduleId!= null and scheduleId !=''">
         schedule_id = #{scheduleId,jdbcType=BIGINT},
       </if>
       <if test="planId != null">
         plan_id = #{planId,jdbcType=BIGINT},
       </if>
-      <if test="nodeId != null">
+      <if test="nodeId!= null">
         node_id = #{nodeId,jdbcType=BIGINT},
       </if>
       <if test="stationId != null">
         station_id = #{stationId,jdbcType=BIGINT},
       </if>
-      <if test="workDetails != null">
+      <if test="workDetails!= null and workDetails !=''">
         work_details = #{workDetails,jdbcType=VARCHAR},
       </if>
     </set>

--
Gitblit v1.8.0