zhangnaisong
2024-07-30 4c133c297ff25eddd1a30a4bce032affb334969a
ard-work/src/main/resources/mapper/sy/ArdSyCarMapper.xml
@@ -180,4 +180,11 @@
        )
        select dept_id from rsd) order by "asc".car_id desc,atl.lock_num
    </select>
    <select id="selectByBrandAndType" resultMap="ArdSyCarResult" parameterType="java.lang.String">
        select * from ard_sy_car
        <where>
            <if test="carType != null  and carType != ''"> and car_type = #{carType}</if>
            <if test="carBrand != null  and carBrand != ''"> and car_brand = #{carBrand}</if>
        </where>
    </select>
</mapper>