From bd633c964ef473853c537dc0c9cf332845785aef Mon Sep 17 00:00:00 2001 From: Fancy <Fancy.fx@outlook.com> Date: 星期二, 27 八月 2024 11:33:24 +0800 Subject: [PATCH] order status --- pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml index 1bbba23..a464b33 100644 --- a/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml +++ b/pms-parent/pms-global/src/main/resources/mapper/PrOrderMapper.xml @@ -67,7 +67,7 @@ <if test="endDate != null and endDate != ''"> delivery_date <![CDATA[ < ]]> #{endDate,jdbcType=VARCHAR} and </if> - <if test="status != null and status != ''"> + <if test="status != null"> status = #{status,jdbcType=TINYINT} and </if> </trim> @@ -102,7 +102,7 @@ <if test="endDate != null and endDate != ''"> delivery_date <![CDATA[ < ]]> #{endDate,jdbcType=VARCHAR} and </if> - <if test="status != null and status != ''"> + <if test="status != null"> status = #{status,jdbcType=TINYINT} and </if> </trim> @@ -131,7 +131,7 @@ <if test="endDate != null and endDate != ''"> delivery_date <![CDATA[ < ]]> #{endDate,jdbcType=VARCHAR} and </if> - <if test="status != null and status != ''"> + <if test="status != null"> status = #{status,jdbcType=TINYINT} and </if> </trim> @@ -155,7 +155,7 @@ <if test="director != null and director !=''">director,</if> <if test="dMobile != null and dMobile !=''">d_mobile,</if> <if test="deliveryDate!= null and deliveryDate !=''">delivery_date,</if> - <if test="status != null and status !=''">status,</if> + <if test="status != null">status,</if> <if test="creator != null and creator !=''">creator,</if> <if test="dt != null and dt !=''">dt,</if> <if test="deleted != null and deleted !=''">deleted,</if> @@ -169,7 +169,7 @@ <if test="director != null and director !=''">#{director,jdbcType=VARCHAR},</if> <if test="dMobile != null and dMobile !=''">#{dMobile,jdbcType=VARCHAR},</if> <if test="deliveryDate!= null and deliveryDate !=''">#{deliveryDate,jdbcType=VARCHAR},</if> - <if test="status != null and status !=''">#{status,jdbcType=TINYINT},</if> + <if test="status != null">#{status,jdbcType=TINYINT},</if> <if test="creator != null and creator !=''">#{creator,jdbcType=VARCHAR},</if> <if test="dt != null and dt !=''">#{dt,jdbcType=TIMESTAMP},</if> <if test="deleted != null and deleted !=''">#{deleted,jdbcType=TINYINT},</if> -- Gitblit v1.8.0