更新新建工单相关功能

This commit is contained in:
许允枞 2024-10-17 21:33:21 +08:00
parent 309b6484c9
commit d11d1389a3
2 changed files with 6 additions and 0 deletions

View File

@ -44,4 +44,6 @@ public class CarMainRespVO extends CarMain {
List<String> brandAndModel; List<String> brandAndModel;
/** 车辆类型 */ /** 车辆类型 */
private String brandType; private String brandType;
/** 车辆logo */
private String logoImg;
} }

View File

@ -36,6 +36,7 @@
SELECT SELECT
<include refid="baseCarMainColumn"></include>, <include refid="baseCarMainColumn"></include>,
bcb.brand_name AS brandStr, bcb.brand_name AS brandStr,
bcb.logo_img AS logoImg,
bcm.model_name AS modelStr bcm.model_name AS modelStr
FROM FROM
`base_car_main` tbcm `base_car_main` tbcm
@ -73,6 +74,9 @@
<if test="dto.engineNumber != null and dto.engineNumber != ''"> <if test="dto.engineNumber != null and dto.engineNumber != ''">
AND tbcm.engine_number LIKE CONCAT('%',#{dto.engineNumber},'%') AND tbcm.engine_number LIKE CONCAT('%',#{dto.engineNumber},'%')
</if> </if>
<if test="dto.userId != null and dto.userId != ''">
AND tbcm.user_id = #{dto.userId}
</if>
ORDER BY ORDER BY
tbcm.car_register_date DESC tbcm.car_register_date DESC
</select> </select>