From 4b86cf6bbe5a7204a801169398fa836e8e06c109 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Wed, 14 Dec 2022 17:04:36 +0800
Subject: [PATCH] Merge remote-tracking branch 'refs/remotes/origin/master'

---
 src/main/java/org/springblade/modules/application/mapper/CarMapper.xml |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/application/mapper/CarMapper.xml b/src/main/java/org/springblade/modules/application/mapper/CarMapper.xml
new file mode 100644
index 0000000..a79b486
--- /dev/null
+++ b/src/main/java/org/springblade/modules/application/mapper/CarMapper.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="org.springblade.modules.application.mapper.CarMapper">
+
+    <!-- 通用查询映射结果 -->
+    <resultMap id="carResultMap" type="org.springblade.modules.application.entity.CarEntity">
+        <result column="id" property="id"/>
+        <result column="car_license" property="carLicense"/>
+        <result column="car_model" property="carModel"/>
+        <result column="trailer_license" property="trailerLicense"/>
+        <result column="trailer_model" property="trailerModel"/>
+        <result column="weight" property="weight"/>
+        <result column="shaft_number" property="shaftNumber"/>
+        <result column="tire_number" property="tireNumber"/>
+        <result column="wheelbase" property="wheelbase"/>
+    </resultMap>
+
+
+    <select id="selectCarPage" resultMap="carResultMap">
+        select * from sys_application_car where is_deleted = 0
+    </select>
+
+
+</mapper>

--
Gitblit v1.9.3