From 77556842bbe4f4c55513a50fb51f8a5622018f4a Mon Sep 17 00:00:00 2001 From: wujianwei <wjw@11.com> Date: 星期二, 09 九月 2025 14:56:45 +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