<?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.zksy.base.mapper.MaintenanceDataStatMapper">

    <resultMap id="BaseResultMap" type="com.zksy.base.domain.MaintenanceDataStat">
            <id property="statId" column="stat_id" jdbcType="BIGINT"/>
            <result property="statDate" column="stat_date" jdbcType="DATE"/>
            <result property="deptId" column="dept_id" jdbcType="BIGINT"/>
            <result property="totalTerminal" column="total_terminal" jdbcType="INTEGER"/>
            <result property="abnormalTerminal" column="abnormal_terminal" jdbcType="INTEGER"/>
            <result property="totalCase" column="total_case" jdbcType="INTEGER"/>
            <result property="caseDisposalRate" column="case_disposal_rate" jdbcType="DECIMAL"/>
            <result property="caseDelayRate" column="case_delay_rate" jdbcType="DECIMAL"/>
            <result property="avgDisposalTime" column="avg_disposal_time" jdbcType="DECIMAL"/>
            <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
    </resultMap>

    <sql id="Base_Column_List">
        stat_id,stat_date,dept_id,
        total_terminal,abnormal_terminal,total_case,
        case_disposal_rate,case_delay_rate,avg_disposal_time,
        create_time
    </sql>
</mapper>
