| | |
| | | </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"> |