From 274bbaf2ed74f11138e1789ad0294e8e3e9a40c8 Mon Sep 17 00:00:00 2001
From: wujianwei <wjw@11.com>
Date: 星期一, 15 十二月 2025 14:27:00 +0800
Subject: [PATCH] 新增客户管理
---
tms/src/main/resources/mapper/tms/TmsCarKeyDispatchMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/tms/src/main/resources/mapper/tms/TmsCarKeyDispatchMapper.xml b/tms/src/main/resources/mapper/tms/TmsCarKeyDispatchMapper.xml
index 2d3ae1d..a27b09d 100644
--- a/tms/src/main/resources/mapper/tms/TmsCarKeyDispatchMapper.xml
+++ b/tms/src/main/resources/mapper/tms/TmsCarKeyDispatchMapper.xml
@@ -62,6 +62,15 @@
</where>
order by thisTab.id desc
</select>
+ <select id="selectTmsCarKeyDispatchdriverMobile" resultMap="TmsCarKeyDispatchResult">
+ <include refid="selectTmsCarKeyDispatchVo"/>
+ WHERE
+ thisTab.driver_mobile = #{driverCode}
+ AND thisTab.status = 0
+ AND thisTab.car_key_expiration_time >= NOW()
+ limit 1
+
+ </select>
<!-- 鏂板 -->
<insert id="insertTmsCarKeyDispatch" parameterType="com.ruoyi.tms.domain.TmsCarKeyDispatch" useGeneratedKeys="true" keyProperty="id">
--
Gitblit v1.8.0