From 4c133c297ff25eddd1a30a4bce032affb334969a Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期二, 30 七月 2024 09:19:30 +0800
Subject: [PATCH] 三一车辆查询bug修改及电磁锁状态修改提交
---
ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml b/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml
index 104d743..23e4643 100644
--- a/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml
+++ b/ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml
@@ -180,4 +180,11 @@
)
select dept_id from rsd) order by "asc".car_id desc,atl.lock_num
</select>
+ <select id="selectByBrandAndType" resultMap="ArdSyCarResult" parameterType="java.lang.String">
+ select * from ard_sy_car
+ <where>
+ <if test="carType != null and carType != ''"> and car_type = #{carType}</if>
+ <if test="carBrand != null and carBrand != ''"> and car_brand = #{carBrand}</if>
+ </where>
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3