From d11d1389a3c3b5c11ba995fae500626068525864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Thu, 17 Oct 2024 21:33:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=B0=E5=BB=BA=E5=B7=A5?= =?UTF-8?q?=E5=8D=95=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/iocoder/yudao/module/custom/vo/CarMainRespVO.java | 2 ++ .../src/main/resources/mapper/custom/CarMainMapper.xml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CarMainRespVO.java b/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CarMainRespVO.java index 4678348c..52b4c6dc 100644 --- a/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CarMainRespVO.java +++ b/dl-module-base/src/main/java/cn/iocoder/yudao/module/custom/vo/CarMainRespVO.java @@ -44,4 +44,6 @@ public class CarMainRespVO extends CarMain { List brandAndModel; /** 车辆类型 */ private String brandType; + /** 车辆logo */ + private String logoImg; } \ No newline at end of file diff --git a/dl-module-base/src/main/resources/mapper/custom/CarMainMapper.xml b/dl-module-base/src/main/resources/mapper/custom/CarMainMapper.xml index a3a4dfd3..1ecba2ea 100644 --- a/dl-module-base/src/main/resources/mapper/custom/CarMainMapper.xml +++ b/dl-module-base/src/main/resources/mapper/custom/CarMainMapper.xml @@ -36,6 +36,7 @@ SELECT , bcb.brand_name AS brandStr, + bcb.logo_img AS logoImg, bcm.model_name AS modelStr FROM `base_car_main` tbcm @@ -73,6 +74,9 @@ AND tbcm.engine_number LIKE CONCAT('%',#{dto.engineNumber},'%') + + AND tbcm.user_id = #{dto.userId} + ORDER BY tbcm.car_register_date DESC