郑永安
2023-06-19 7a6abd05683528032687c75e80e0bd2030a3e46c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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.gkhy.safePlatform.riskCtrl.repository.PreventMonthReportDetailRepository">
    <resultMap id="BaseMapper" type="com.gkhy.safePlatform.riskCtrl.entity.PreventMonthReportDetail">
        <id column="report_id" property="reportId" jdbcType="BIGINT"/>
        <result column="risk_total_count" property="riskTotalCount" jdbcType="INTEGER"/>
        <result column="death_count" property="deathCount" jdbcType="INTEGER"/>
        <result column="heavy_injure_count" property="heavyInjureCount" jdbcType="INTEGER"/>
        <result column="light_injure_count" property="lightInjureCount" jdbcType="INTEGER"/>
        <result column="heavy_risk_count" property="heavyRiskCount" jdbcType="INTEGER"/>
        <result column="light_risk_count" property="lightRiskCount" jdbcType="INTEGER"/>
        <result column="heavy_risk_finish_count" property="heavyRiskFinishCount" jdbcType="INTEGER"/>
        <result column="light_risk_finish_count" property="lightRiskFinishCount" jdbcType="INTEGER"/>
    </resultMap>
 
    <sql id="all_columns">
        report_id,risk_total_count,death_count,heavy_injure_count,light_injure_count,heavy_risk_count,light_risk_count,heavy_risk_finish_count,light_risk_finish_count
    </sql>
</mapper>