From 08363052cecb30230a2c8b3eba791ca8d1be00a5 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 31 Aug 2021 15:32:38 +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