大件运输联网系统后端代码
guoshilong
2022-12-16 2739964a8ed8e8e586971a5271a4d6bf2dbac2e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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>