From 954e497b886c94a216e3e16c3431cc8cb6bed918 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期五, 18 十月 2024 14:47:47 +0800
Subject: [PATCH] command
---
pms-parent/pms-global/src/main/resources/mapper/TstCommandMapper.xml | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/TstCommandMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/TstCommandMapper.xml
index 25e5e6c..553b47c 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/TstCommandMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/TstCommandMapper.xml
@@ -51,14 +51,14 @@
<if test="name != null and name !=''">
name like concat('%', #{name}, '%') and
</if>
- <if test="factory != null and factory !=''">
- factory like concat('%', #{factory}, '%') and
+ <if test="proId != null">
+ proId = #{proId,jdbcType=BIGINT}
</if>
- <if test="director != null and director !=''">
- director like concat('%', #{director}, '%') and
+ <if test="value != null and value !=''">
+ value like concat('%', #{value}, '%') and
</if>
- <if test="dMobile != null and dMobile !=''">
- d_mobile = #{dMobile,jdbcType=VARCHAR} and
+ <if test="type != null">
+ type = #{type,jdbcType=TINYINT} and
</if>
</trim>
order by id desc
@@ -76,14 +76,14 @@
<if test="name != null and name !=''">
name like concat('%', #{name}, '%') and
</if>
- <if test="factory != null and factory !=''">
- factory like concat('%', #{factory}, '%') and
+ <if test="proId != null">
+ proId = #{proId,jdbcType=BIGINT}
</if>
- <if test="director != null and director !=''">
- director like concat('%', #{director}, '%') and
+ <if test="value != null and value !=''">
+ value like concat('%', #{value}, '%') and
</if>
- <if test="dMobile != null and dMobile !=''">
- d_mobile = #{dMobile,jdbcType=VARCHAR} and
+ <if test="type != null">
+ type = #{type,jdbcType=TINYINT} and
</if>
</trim>
</select>
--
Gitblit v1.8.0