From e5ead76e6f88915ac4f7b694f98a3f3740565c55 Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期三, 04 九月 2024 09:17:49 +0800
Subject: [PATCH] 排班管理添加权限编号

---
 pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml
index 5317d88..cc8dc9c 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml
@@ -41,14 +41,14 @@
                 <if test="id != null">id,</if>
                 <if test="userId != null">user_id,</if>
                 <if test="planId != null">plan_id,</if>
-                <if test="dt != null">dt,</if>
+                <if test="dt != null and dt !=''">dt,</if>
                 <if test="status != null">status,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
                 <if test="id != null">#{id,jdbcType=BIGINT},</if>
                 <if test="userId != null">#{userId,jdbcType=BIGINT},</if>
                 <if test="planId != null">#{planId,jdbcType=BIGINT},</if>
-                <if test="dt != null">#{dt,jdbcType=TIMESTAMP},</if>
+                <if test="dt != null and dt !=''">#{dt,jdbcType=TIMESTAMP},</if>
                 <if test="status != null">#{status,jdbcType=TINYINT},</if>
         </trim>
     </insert>
@@ -61,7 +61,7 @@
                 <if test="planId != null">
                     plan_id = #{planId,jdbcType=BIGINT},
                 </if>
-                <if test="dt != null">
+                <if test="dt != null and dt !=''">
                     dt = #{dt,jdbcType=TIMESTAMP},
                 </if>
                 <if test="status != null">

--
Gitblit v1.8.0