From 5b207a55bdd10f1516031f629217daac069b64fd Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期五, 30 八月 2024 11:40:31 +0800
Subject: [PATCH] 添加免登录查询所有排班接口;

---
 pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 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 3d7d201..cc8dc9c 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaDevOpsTaskClaimInfoMapper.xml
@@ -38,33 +38,33 @@
     <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo" useGeneratedKeys="true">
         insert into sta_dev_ops_task_claim_info
         <trim prefix="(" suffix=")" suffixOverrides=",">
-                <if test="id != null and id !=''">id,</if>
-                <if test="userId != null and userId !=''">user_id,</if>
-                <if test="planId != null and planId !=''">plan_id,</if>
+                <if test="id != null">id,</if>
+                <if test="userId != null">user_id,</if>
+                <if test="planId != null">plan_id,</if>
                 <if test="dt != null and dt !=''">dt,</if>
-                <if test="status != null and status !=''">status,</if>
+                <if test="status != null">status,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
-                <if test="id != null and id !=''">#{id,jdbcType=BIGINT},</if>
-                <if test="userId != null and userId !=''">#{userId,jdbcType=BIGINT},</if>
-                <if test="planId != null and planId !=''">#{planId,jdbcType=BIGINT},</if>
+                <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 and dt !=''">#{dt,jdbcType=TIMESTAMP},</if>
-                <if test="status != null and status !=''">#{status,jdbcType=TINYINT},</if>
+                <if test="status != null">#{status,jdbcType=TINYINT},</if>
         </trim>
     </insert>
     <update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaDevOpsTaskClaimInfo">
         update sta_dev_ops_task_claim_info
         <set>
-                <if test="userId != null and userId !=''">
+                <if test="userId != null">
                     user_id = #{userId,jdbcType=BIGINT},
                 </if>
-                <if test="planId != null and planId !=''">
+                <if test="planId != null">
                     plan_id = #{planId,jdbcType=BIGINT},
                 </if>
                 <if test="dt != null and dt !=''">
                     dt = #{dt,jdbcType=TIMESTAMP},
                 </if>
-                <if test="status != null and status !=''">
+                <if test="status != null">
                     status = #{status,jdbcType=TINYINT},
                 </if>
         </set>

--
Gitblit v1.8.0