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 | 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