liujie
2025-08-22 fa4d91768a990d5e8b759300a1271b12f54c10ca
UserOKTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/CarMapper.xml
@@ -68,4 +68,13 @@
        addObjectId as addObjectId
        from t_car where state = 1 and carLicensePlate = #{licensePlate}
    </select>
    <select id="selectList1" resultType="com.stylefeng.guns.modular.system.model.Car"
            >
        select t1.id ,t2.seat from t_car t1 left join  t_car_model t2 on t1.carModelId = t2.id
        where t1.id in <foreach collection="list" item="item" index="index" separator="," open="(" close=")">
            #{item}
        </foreach>
    </select>
</mapper>