From 5e75ef24e5dd45ae934dc7f03f6c7736ca73c9ff Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期二, 27 八月 2024 15:01:32 +0800 Subject: [PATCH] fix order search --- pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml index cff337a..f032710 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrScheduleRelMapper.xml @@ -46,19 +46,19 @@ <!--@mbg.generated--> insert into pr_schedule_rel <trim prefix="(" suffix=")" suffixOverrides=","> - <if test="id != null and id !=''"> + <if test="id != null"> id, </if> <if test="scheduleId!= null and scheduleId !=''"> schedule_id, </if> - <if test="planId != null and planId !=''"> + <if test="planId != null"> plan_id, </if> - <if test="nodeId!= null and nodeId !=''"> + <if test="nodeId!= null"> node_id, </if> - <if test="stationId != null and stationId !=''"> + <if test="stationId != null"> station_id, </if> <if test="workDetails!= null and workDetails !=''"> @@ -66,19 +66,19 @@ </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> - <if test="id != null and id !=''"> + <if test="id != null"> #{id,jdbcType=BIGINT}, </if> <if test="scheduleId!= null and scheduleId !=''"> #{scheduleId,jdbcType=BIGINT}, </if> - <if test="planId != null and planId !=''"> + <if test="planId != null"> #{planId,jdbcType=BIGINT}, </if> - <if test="nodeId!= null and nodeId !=''"> + <if test="nodeId!= null"> #{nodeId,jdbcType=BIGINT}, </if> - <if test="stationId != null and stationId !=''"> + <if test="stationId != null"> #{stationId,jdbcType=BIGINT}, </if> <if test="workDetails!= null and workDetails !=''"> @@ -93,13 +93,13 @@ <if test="scheduleId!= null and scheduleId !=''"> schedule_id = #{scheduleId,jdbcType=BIGINT}, </if> - <if test="planId != null and planId !=''"> + <if test="planId != null"> plan_id = #{planId,jdbcType=BIGINT}, </if> - <if test="nodeId!= null and nodeId !=''"> + <if test="nodeId!= null"> node_id = #{nodeId,jdbcType=BIGINT}, </if> - <if test="stationId != null and stationId !=''"> + <if test="stationId != null"> station_id = #{stationId,jdbcType=BIGINT}, </if> <if test="workDetails!= null and workDetails !=''"> -- Gitblit v1.8.0