<?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.tuoheng.mapper.information.ReportMapper">

    <resultMap id="BaseResultMap" type="com.tuoheng.model.entity.Report">
            <id property="id" column="id" jdbcType="SMALLINT"/>
            <result property="reportNo" column="report_no" jdbcType="VARCHAR"/>
            <result property="inspectionCode" column="inspection_code" jdbcType="VARCHAR"/>
            <result property="inspectionName" column="inspection_name" jdbcType="VARCHAR"/>
            <result property="reportType" column="report_type" jdbcType="OTHER"/>
            <result property="clientId" column="client_id" jdbcType="VARCHAR"/>
            <result property="industry" column="industry" jdbcType="VARCHAR"/>
            <result property="tenantUsername" column="tenant_username" jdbcType="VARCHAR"/>
            <result property="createUser" column="create_user" jdbcType="INTEGER"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
            <result property="updateUser" column="update_user" jdbcType="INTEGER"/>
            <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
            <result property="mark" column="mark" jdbcType="TINYINT"/>
    </resultMap>

    <sql id="Base_Column_List">
        id,report_no,inspection_code,
        inspection_name,report_type,client_id,
        industry,tenant_username,create_user,
        create_time,update_user,update_time,
        mark
    </sql>
</mapper>
