<?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.njcn.device.pms.mapper.majornetwork.RMpDevSolveDetailMapper">

    <resultMap id="BaseResultMap" type="com.njcn.device.pms.pojo.po.RMpDevSolveDetail">
            <id property="deviceId" column="device_id" jdbcType="VARCHAR"/>
            <id property="dataDate" column="data_date" jdbcType="TIMESTAMP"/>
            <result property="breakDownDate" column="break_down_date" jdbcType="TIMESTAMP"/>
            <result property="breakDownType" column="break_down_type" jdbcType="VARCHAR"/>
            <result property="isSolve" column="is_solve" jdbcType="TINYINT"/>
            <result property="solveDate" column="solve_date" jdbcType="TIMESTAMP"/>
            <result property="defectTreatment" column="defect_treatment" jdbcType="VARCHAR"/>
            <result property="defectSeverity" column="defect_severity" jdbcType="VARCHAR"/>
    </resultMap>

    <sql id="Base_Column_List">
        device_id,data_date,break_down_date,
        break_down_type,is_solve,solve_date,
        defect_treatment,defect_severity
    </sql>
</mapper>
