From 893fda95385e39c2c810c6f3ac3758a63d11d4ae Mon Sep 17 00:00:00 2001 From: 刘小明 <liuxm_a@163.com> Date: 星期三, 04 九月 2024 16:33:25 +0800 Subject: [PATCH] 修改时间类型的判空 --- pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml index 6d5d8a8..1d84692 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrAssemblyPlanMapper.xml @@ -261,8 +261,8 @@ <if test="endDate != null and endDate !=''">end_date,</if> <if test="deleted != null">deleted,</if> <if test="content != null and content !=''">content,</if> - <if test="inputNumber!= null and inputNumber !=''">input_number,</if> - <if test="outputNumber!= null and outputNumber !=''">output_number,</if> + <if test="inputNumber!= null">input_number,</if> + <if test="outputNumber!= null">output_number,</if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null">#{id,jdbcType=BIGINT},</if> @@ -325,10 +325,10 @@ <if test="content != null and content !=''"> content = #{content,jdbcType=VARCHAR}, </if> - <if test="inputNumber!= null and inputNumber !=''"> + <if test="inputNumber!= null"> input_number = #{inputNumber,jdbcType=INTEGER}, </if> - <if test="outputNumber!= null and outputNumber !=''"> + <if test="outputNumber!= null"> output_number = #{outputNumber,jdbcType=INTEGER}, </if> </set> -- Gitblit v1.8.0