From 212f81d79dc966cdf5f73a658a070ca79d69e822 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期二, 09 九月 2025 16:40:02 +0800
Subject: [PATCH] 新增接口

---
 service/src/main/resources/mapper/cwgl/SmartLockerApplicationMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/service/src/main/resources/mapper/cwgl/SmartLockerApplicationMapper.xml b/service/src/main/resources/mapper/cwgl/SmartLockerApplicationMapper.xml
index f1e237e..baa77ed 100644
--- a/service/src/main/resources/mapper/cwgl/SmartLockerApplicationMapper.xml
+++ b/service/src/main/resources/mapper/cwgl/SmartLockerApplicationMapper.xml
@@ -65,6 +65,18 @@
         </where>
         order by thisTab.id desc
     </select>
+    <select id="selectSmartLockerApplication" resultMap="SmartLockerApplicationResult">
+        <include refid="selectSmartLockerApplicationVo"/>
+
+        where applicant_name = #{driverName}
+        and applicant_code = #{driverCode}
+        and status = 0
+        limit 1
+    </select>
+    <select id="selectCwByLicensePlateNumber" resultType="java.lang.Integer">
+
+        SELECT `NAME` from tms_vehicle WHERE LICENSE_PLATE_NUMBER = #{licensePlateNumber} and BE_DELETE =0 order by id asc LIMIT 1
+    </select>
 
     <!-- 鏂板 -->
     <insert id="insertSmartLockerApplication" parameterType="com.ruoyi.cwgl.domain.SmartLockerApplication"  useGeneratedKeys="true" keyProperty="id">

--
Gitblit v1.8.0