zhangback
6 天以前 ca412ade3b178fbc8ba0a4b6215a040acdede954
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 &lt;= NOW()
        limit 1
    </select>
    <!-- 新增 -->
    <insert id="insertTmsCarKeyDispatch" parameterType="com.ruoyi.tms.domain.TmsCarKeyDispatch" useGeneratedKeys="true" keyProperty="id">