wl
2022-09-28 4ade291ebd74dd4cd42556f07bd4f205f73c3313
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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="com.ycl.mapper.caseHandler.ViolationsMapper">
 
    <!-- 通用查询映射结果 -->
    <resultMap id="BaseResultMap" type="com.ycl.entity.caseHandler.Violations">
        <id column="id" property="id" />
        <result column="category_id" property="categoryId" />
        <result column="type_id" property="typeId" />
        <result column="grade_id" property="gradeId" />
        <result column="action_cause" property="actionCause" />
        <result column="link_shop" property="linkShop" />
        <result column="shop_name" property="shopName" />
        <result column="car_number" property="carNumber" />
        <result column="description" property="description" />
        <result column="informant" property="informant" />
        <result column="informant_phone_code" property="informantPhoneCode" />
        <result column="informant_id_card" property="informantIdCard" />
    </resultMap>
 
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id, category_id, type_id, grade_id, action_cause, link_shop, shop_name, car_number, description, informant, informant_phone_code, informant_id_card
    </sql>
 
</mapper>