From 513f1f3c738b2d5e087d841ffe162e63ae778a70 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期二, 10 十二月 2024 09:40:53 +0800
Subject: [PATCH] change WorkloadTask logic
---
pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
index 02490d4..12e4b6a 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
@@ -54,7 +54,7 @@
<if test="fromNode != null">from_node,</if>
<if test="repairReason != null and repairReason !=''">repair_reason,</if>
<if test="repairBy != null">repair_by,</if>
- <if test="repairTime != null and repairTime !=''">repair_time,</if>
+ <if test="repairTime != null">repair_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id,jdbcType=BIGINT},</if>
@@ -63,7 +63,7 @@
<if test="fromNode != null">#{fromNode,jdbcType=BIGINT},</if>
<if test="repairReason != null and repairReason !=''">#{repairReason,jdbcType=VARCHAR},</if>
<if test="repairBy != null">#{repairBy,jdbcType=BIGINT},</if>
- <if test="repairTime != null and repairTime !=''">#{repairTime,jdbcType=TIMESTAMP},</if>
+ <if test="repairTime != null">#{repairTime,jdbcType=TIMESTAMP},</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo">
--
Gitblit v1.8.0