From b5a3c0f6823d17d4acd97545cee3556a07f09865 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期二, 03 九月 2024 10:56:23 +0800
Subject: [PATCH] 移动生产日志定时任务优化

---
 pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 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 cff337a..f032710 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml
@@ -46,19 +46,19 @@
     <!--@mbg.generated-->
     insert into pr_schedule_rel
     <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null and id !=''">
+      <if test="id != null">
         id,
       </if>
       <if test="scheduleId!= null and scheduleId !=''">
         schedule_id,
       </if>
-      <if test="planId != null and planId !=''">
+      <if test="planId != null">
         plan_id,
       </if>
-      <if test="nodeId!= null and nodeId !=''">
+      <if test="nodeId!= null">
         node_id,
       </if>
-      <if test="stationId != null and stationId !=''">
+      <if test="stationId != null">
         station_id,
       </if>
       <if test="workDetails!= null and workDetails !=''">
@@ -66,19 +66,19 @@
       </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null and id !=''">
+      <if test="id != null">
         #{id,jdbcType=BIGINT},
       </if>
       <if test="scheduleId!= null and scheduleId !=''">
         #{scheduleId,jdbcType=BIGINT},
       </if>
-      <if test="planId != null and planId !=''">
+      <if test="planId != null">
         #{planId,jdbcType=BIGINT},
       </if>
-      <if test="nodeId!= null and nodeId !=''">
+      <if test="nodeId!= null">
         #{nodeId,jdbcType=BIGINT},
       </if>
-      <if test="stationId != null and stationId !=''">
+      <if test="stationId != null">
         #{stationId,jdbcType=BIGINT},
       </if>
       <if test="workDetails!= null and workDetails !=''">
@@ -93,13 +93,13 @@
       <if test="scheduleId!= null and scheduleId !=''">
         schedule_id = #{scheduleId,jdbcType=BIGINT},
       </if>
-      <if test="planId != null and planId !=''">
+      <if test="planId != null">
         plan_id = #{planId,jdbcType=BIGINT},
       </if>
-      <if test="nodeId!= null and nodeId !=''">
+      <if test="nodeId!= null">
         node_id = #{nodeId,jdbcType=BIGINT},
       </if>
-      <if test="stationId != null and stationId !=''">
+      <if test="stationId != null">
         station_id = #{stationId,jdbcType=BIGINT},
       </if>
       <if test="workDetails!= null and workDetails !=''">

--
Gitblit v1.8.0