From 41e833e928e235afe2023398b1d5e8d35c47ded5 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期四, 29 八月 2024 10:37:41 +0800
Subject: [PATCH] privilege
---
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