From cec1ded044e662e9de019eaaacc1ea3c76bda556 Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 21 五月 2025 11:40:48 +0800 Subject: [PATCH] 项目开发人员在开发过程中修改了pom.xml配置文件,破坏了系统架构设计,造成pom凌乱,导致不好管理依赖,当下重新规范了pom.xml配置文件内容,使重新符合系统架构设计规范。 --- pms-parent/pms-global/src/main/resources/mapper/PrScheduleMapper.xml | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleMapper.xml index 745d8ee..49c527b 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleMapper.xml @@ -47,7 +47,7 @@ <if test="userId != null"> user_id, </if> - <if test="scheduleDate != null"> + <if test="scheduleDate != null and scheduleDate !=''"> schedule_date, </if> <if test="deleted != null"> @@ -64,13 +64,13 @@ <if test="userId != null"> #{userId,jdbcType=BIGINT}, </if> - <if test="scheduleDate != null"> + <if test="scheduleDate != null and scheduleDate !=''"> #{scheduleDate,jdbcType=VARCHAR}, </if> <if test="deleted != null"> #{deleted,jdbcType=TINYINT}, </if> - <if test="dt != null"> + <if test="dt != null and dt !=''"> #{dt,jdbcType=TIMESTAMP}, </if> </trim> @@ -82,7 +82,7 @@ <if test="userId != null"> user_id = #{userId,jdbcType=BIGINT}, </if> - <if test="scheduleDate != null"> + <if test="scheduleDate != null and scheduleDate !=''"> schedule_date = #{scheduleDate,jdbcType=VARCHAR}, </if> <if test="deleted != null"> @@ -107,7 +107,7 @@ <if test="userId != null"> and user_id = #{userId,jdbcType=BIGINT} </if> - <if test="scheduleDate != null"> + <if test="scheduleDate != null and scheduleDate !=''"> and schedule_date = #{scheduleDate,jdbcType=VARCHAR} </if> </select> @@ -120,7 +120,7 @@ <if test="userId != null"> and user_id = #{userId} </if> - <if test="scheduleDate != null"> + <if test="scheduleDate != null and scheduleDate !=''"> and schedule_date = #{scheduleDate} </if> </select> @@ -133,7 +133,7 @@ <if test="userId != null"> and user_id = #{userId} </if> - <if test="scheduleDate != null"> + <if test="scheduleDate != null and scheduleDate !=''"> and schedule_date = #{scheduleDate} </if> order by schedule_date desc -- Gitblit v1.8.0