From 6810a3f59a8a930f67e4dfba9ebad1d147df7196 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 09 Sep 2021 14:25:19 +0800
Subject: [PATCH] 启动端口修改
---
src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml b/src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
index 3bb4f3e..feba11b 100644
--- a/src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
+++ b/src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
@@ -20,12 +20,21 @@
<if test="car.carNumber!=null and car.carNumber!=''">
and sc.car_number like concat('%', #{car.carNumber},'%')
</if>
+ <if test="car.deptId!=null and car.deptId!=''">
+ and sc.dept_id = #{car.deptId}
+ </if>
<if test="car.numberType!=null and car.numberType!=''">
and sc.number_type like concat('%', #{car.numberType},'%')
</if>
<if test="car.carType!=null and car.carType!=''">
and sc.car_type like concat('%', #{car.carType},'%')
</if>
+ <if test="car.brand!=null and car.brand!=''">
+ and sc.brand like concat('%', #{car.brand},'%')
+ </if>
+ <if test="car.mode!=null and car.mode!=''">
+ and sc.mode like concat('%', #{car.mode},'%')
+ </if>
<if test="car.personInCharge!=null and car.personInCharge!=''">
and sc.person_in_charge like concat('%', #{car.personInCharge},'%')
</if>
--
Gitblit v1.9.3